CCing dcoppa@ Ping?
Can anyone else reproduce the vertical lines I'm seeing with the new FreeType update, or can I assume that there's something weird going on with just my machine that doesn't affect others? -- Bryan On 2018-02-11 22:05:54, Bryan Linton <[email protected]> wrote: > >Synopsis: Asian fonts are rendering with vertical bars after recent > >FreeType update > >Category: system > >Environment: > System : OpenBSD 6.2 > Details : OpenBSD 6.2-current (GENERIC.MP) #408: Thu Feb 8 > 04:09:33 MST 2018 > > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > I noticed after upgrading to a newer snapshot that > vertical lines are now displayed when Asian fonts are > rendered. The example (and screenshot) is from mutt in an > xterm, but I see the same thing in Firefox. > > I've attached a screenshot of mutt (please ignore the date > in the email itself, I've had OpenBSD installed for a long > time). Notice how "Theo de Raadt" renders more like "Thθa > dθ Raadt", the following left angle bracket looks more > like a triangle, and the date in the line above looks like > it says "2101017" instead of "2007". > > While this is only mildly annoying when reading the Latin > alphabet, it causes considerably more confusion when > reading Asian (specifically Japanese) scripts. For > example, the difference between リ and 川 > is quite significant. (One is simply a phonetic character > with the reading of "ri", the other is a kanji meaning > "river" with the reading of "kawa"). > > It also appears to be specifically limited to embolded > fonts. I do not see it occur on regular (non-italic, > non-embolded) fonts. > > >How-To-Repeat: > pkg_add mutt ja-sazanami-ttf-20040629p3 > env LC_ALL=ja_JP.UTF-8 xterm -fa "Sazanami Gothic" -fs 16 mutt > <display any email> > > --- or --- > > pkg_add firefox-esr ja-sazanami-ttf-20040629p3 > <set Firefox to use Sazanami font> > <Navigate to any Japanese website such as yahoo.co.jp> > > >Fix: > Reverting FreeType 2.8.1 back to FreeType 2.8.0 resolves > all issues for me. > > > dmesg: > OpenBSD 6.2-current (GENERIC.MP) #408: Thu Feb 8 04:09:33 MST 2018 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 12539572224 (11958MB) > avail mem = 12152545280 (11589MB) > enter_shared_special_pages: entered idt page va 0xffff800000010000 pa > 0x1d5a000 > enter_shared_special_pages: entered kutext page va 0xffffffff81830000 pa > 0x1830000 > enter_shared_special_pages: entered kutext page va 0xffffffff81831000 pa > 0x1831000 > enter_shared_special_pages: entered kutext page va 0xffffffff81832000 pa > 0x1832000 > enter_shared_special_pages: entered kudata page va 0xffffffff81ac6000 pa > 0x1ac6000 > cpu_enter_pages: entered tss+gdt page at va 0xffffffff81a93000 pa 0x1a93000 > cpu_enter_pages: entered t.stack page at va 0xffffffff81a94000 pa 0x1a94000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffffffff81a943e0 > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xbcc0d000 (67 entries) > bios0: vendor LENOVO version "GLET92WW (2.46 )" date 12/11/2017 > bios0: LENOVO 20AWS27D00 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SLIC DBGP ECDT HPET APIC MCFG SSDT SSDT SSDT SSDT > SSDT SSDT SSDT PCCT SSDT TCPA UEFI MSDM ASF! BATB FPDT UEFI DMAR > acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP2(S4) EXP3(S4) XHCI(S3) > EHC1(S3) EHC2(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpiec0 at acpi0 > acpihpet0 at acpi0: 14318179 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > lapic_map: entered lapic page va 0xffffffff81ac4000 pa 0xfee00000 > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2694.09 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu0: 256KB 64b/line 8-way L2 cache > acpihpet0: recalibrated TSC frequency 2693764628 Hz > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4, IBE > cpu1 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff800022000000 pa 0x116a8c000 > cpu_enter_pages: entered t.stack page at va 0xffff800022001000 pa 0x116a8d000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220013e0 > : apid 1 (application processor) > cpu1: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 1, core 0, package 0 > cpu2 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff800022011000 pa 0x116a97000 > cpu_enter_pages: entered t.stack page at va 0xffff800022012000 pa 0x116a98000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220123e0 > : apid 2 (application processor) > cpu2: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 0, core 1, package 0 > cpu3 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff80002201a000 pa 0x116a9a000 > cpu_enter_pages: entered t.stack page at va 0xffff80002201b000 pa 0x116a9b000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002201b3e0 > : apid 3 (application processor) > cpu3: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu3: 256KB 64b/line 8-way L2 cache > cpu3: smt 1, core 1, package 0 > cpu4 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff800022023000 pa 0x116a9d000 > cpu_enter_pages: entered t.stack page at va 0xffff800022024000 pa 0x116a9e000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220243e0 > : apid 4 (application processor) > cpu4: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu4: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu4: 256KB 64b/line 8-way L2 cache > cpu4: smt 0, core 2, package 0 > cpu5 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff80002202c000 pa 0x116aa0000 > cpu_enter_pages: entered t.stack page at va 0xffff80002202d000 pa 0x116aa1000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002202d3e0 > : apid 5 (application processor) > cpu5: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu5: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu5: 256KB 64b/line 8-way L2 cache > cpu5: smt 1, core 2, package 0 > cpu6 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff800022035000 pa 0x116aa3000 > cpu_enter_pages: entered t.stack page at va 0xffff800022036000 pa 0x116aa4000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff8000220363e0 > : apid 6 (application processor) > cpu6: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu6: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu6: 256KB 64b/line 8-way L2 cache > cpu6: smt 0, core 3, package 0 > cpu7 at mainbus0cpu_enter_pages: entered tss+gdt page at va > 0xffff80002203e000 pa 0x116aa6000 > cpu_enter_pages: entered t.stack page at va 0xffff80002203f000 pa 0x116aa7000 > cpu_enter_pages: cif_tss.tss_rsp0 = 0xffff80002203f3e0 > : apid 7 (application processor) > cpu7: Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz, 2693.77 MHz > cpu7: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,IBRS,IBPB,STIBP,SENSOR,ARAT,INSECURE > cpu7: 256KB 64b/line 8-way L2 cache > cpu7: smt 1, core 3, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG0) > acpiprt2 at acpi0: bus -1 (PEG_) > acpiprt3 at acpi0: bus 2 (EXP1) > acpiprt4 at acpi0: bus 3 (EXP2) > acpiprt5 at acpi0: bus -1 (EXP3) > acpiprt6 at acpi0: bus -1 (EXP6) > acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu4 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu5 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu6 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpicpu7 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: PUBS, resource for XHCI, EHC1, EHC2 > acpipwrres1 at acpi0: NVP3, resource for PEG_ > acpipwrres2 at acpi0: NVP2, resource for PEG_ > acpitz0 at acpi0: critical temperature is 200 degC > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: SLPB > "LEN0071" at acpi0 not configured > "LEN0036" at acpi0 not configured > "SMO1200" at acpi0 not configured > acpibat0 at acpi0: BAT0 model "45N1161" serial 3584 type LION oem "LGC" > acpiac0 at acpi0: AC unit online > acpithinkpad0 at acpi0 > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "INT340F" at acpi0 not configured > acpivideo0 at acpi0: VID_ > acpivout at acpivideo0 not configured > acpivideo1 at acpi0: VID_ > cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2701, 2700, 2600, 2400, 2300, > 2200, 2000, 1900, 1700, 1600, 1500, 1300, 1200, 1100, 900, 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 4G Host" rev 0x06 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 4600" rev 0x06 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1920x1080, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > azalia0 at pci0 dev 3 function 0 "Intel Core 4G HD Audio" rev 0x06: msi > xhci0 at pci0 dev 20 function 0 "Intel 8 Series xHCI" rev 0x04: msi > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev 3.00/1.00 > addr 1 > "Intel 8 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel I217-LM" rev 0x04: msi, address > ehci0 at pci0 dev 26 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 16 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > azalia1 at pci0 dev 27 function 0 "Intel 8 Series HD Audio" rev 0x04: msi > azalia1: codecs: Realtek ALC292 > audio0 at azalia1 > ppb0 at pci0 dev 28 function 0 "Intel 8 Series PCIE" rev 0xd4: msi > pci1 at ppb0 bus 2 > rtsx0 at pci1 dev 0 function 0 "Realtek RTS5227 Card Reader" rev 0x01: msi > sdmmc0 at rtsx0: 4-bit, dma > ppb1 at pci0 dev 28 function 1 "Intel 8 Series PCIE" rev 0xd4: msi > pci2 at ppb1 bus 3 > iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7260" rev 0x83, msi > ehci1 at pci0 dev 29 function 0 "Intel 8 Series USB" rev 0x04: apic 2 int 23 > usb2 at ehci1: USB revision 2.0 > uhub2 at usb2 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > pcib0 at pci0 dev 31 function 0 "Intel QM87 LPC" rev 0x04 > ahci0 at pci0 dev 31 function 2 "Intel 8 Series AHCI" rev 0x04: msi, AHCI 1.3 > ahci0: port 0: 6.0Gb/s > ahci0: port 5: 1.5Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0> SCSI3 0/direct > fixed > sd0: 476940MB, 512 bytes/sector, 976773168 sectors, thin > cd0 at scsibus1 targ 5 lun 0: <PLDS, DVD-RW DU8A5SH, BU51> ATAPI 5/cdrom > removable > ichiic0 at pci0 dev 31 function 3 "Intel 8 Series SMBus" rev 0x04: apic 2 int > 18 > iic0 at ichiic0 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > wsmouse1 at pms0 mux 0 > pms0: Synaptics clickpad, firmware 8.2, 0x1e2b1 0x943300 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > umass0 at uhub0 port 2 configuration 1 interface 0 "Android Android" rev > 2.00/3.18 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > cd1 at scsibus2 targ 1 lun 0: <ASUS, Device CD-ROM, 0318> SCSI2 5/cdrom > removable serial > uhidev0 at uhub0 port 3 configuration 1 interface 0 "WiseGroup.,Ltd > JC-PS101U" rev 1.00/2.88 addr 3 > uhidev0: iclass 3/0 > uhid0 at uhidev0: input=7, output=3, feature=0 > uhidev1 at uhub0 port 6 configuration 1 interface 0 "Logitech USB Laser > Mouse" rev 2.00/56.01 addr 4 > uhidev1: iclass 3/1 > ums0 at uhidev1: 8 buttons, Z and W dir > wsmouse2 at ums0 mux 0 > ugen0 at uhub0 port 7 "Validity Sensors VFS5011 Fingerprint Reader" rev > 1.10/0.78 addr 5 > ugen1 at uhub0 port 11 "Intel product 0x07dc" rev 2.00/0.01 addr 6 > sdmmc0: can't enable card > uvideo0 at uhub0 port 12 configuration 1 interface 0 "SunplusIT INC. > Integrated Camera" rev 2.00/0.03 addr 7 > video0 at uvideo0 > uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.04 addr 2 > uhub4 at uhub2 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" > rev 2.00/0.04 addr 2 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > > -- > Bryan
