I have just installed OpenBSD 4.5 on i386, and I am observing a problem with fonts. It is most noticeable with the /x11/msttcorefonts port installed.
The problem is that Bitstream Vera Serif is always being used instead of any variant of "Times". For example if I set firefox or gimp to use Times (one of the standard X11 fonts) or Times New Roman (from msttcorefonts), then Bitstream Vera Serif is used instead. But the other msttcorefonts (for example, Courier New, Verdana, etc.) work fine. I suspect that it is a problem with fontconfig. Note that fontconfig correctly matches the string 'Courier New' to the appropriate font $ fc-match :family='Courier New' cour.ttf: "Courier New" "Normal" But it does not match the string 'Times New Roman' $ fc-match :family='Times New Roman' VeraSe.ttf: "Bitstream Vera Serif" "Roman" even though the font is installed $ fc-list :family='Times New Roman' file /usr/local/lib/X11/fonts/mscorefonts/times.ttf: /usr/local/lib/X11/fonts/mscorefonts/timesbd.ttf: /usr/local/lib/X11/fonts/mscorefonts/timesbi.ttf: /usr/local/lib/X11/fonts/mscorefonts/timesi.ttf: For some reason, fontconfig is giving Bitstream Vera Serif higher priority than Times New Roman when it tries to match a string. Here is the prioritized list of matches: $ fc-match -s :family='Times New Roman' VeraSe.ttf: "Bitstream Vera Serif" "Roman" times.ttf: "Times New Roman" "Normal" luxirr.ttf: "Luxi Serif" "Regular" l049013t.pfa: "Luxi Serif" "Regular" n021004l.pfb: "Nimbus Roman No9 L" "Medium" timR12-ISO8859-1.pcf.gz: "Times" "Regular" timR12.pcf.gz: "Times" "Regular" GohaTibebZemen.ttf: "Goha-Tibeb Zemen" "Regular" cour.ttf: "Courier New" "Normal" arial.ttf: "Arial" "Normal" ariblk.ttf: "Arial Black" "Normal" SyrCOMNisibin.otf: "Estrangelo Nisibin" "Regular" trebuc.ttf: "Trebuchet MS" "Normal" SyrCOMQenNeshrin.otf: "Estrangelo Quenneshrin" "Regular" SyrCOMMalankara.otf: "Serto Malankara" "Regular" SyrCOMCtesiphon.otf: "East Syriac Ctesiphon" "Regular" d050000l.pfb: "Dingbats" "Regular" cour.pfa: "Courier" "Regular" s050000l.pfb: "Standard Symbols L" "Regular" 12x13ja.pcf.gz: "Fixed" "ja" lutRS12.pcf.gz: "LucidaTypewriter" "Sans" 6x13-ISO8859-1.pcf.gz: "Fixed" "SemiCondensed" 6x12.pcf.gz: "Fixed" "SemiCondensed" 6x13.pcf.gz: "Fixed" "SemiCondensed" 7x13.pcf.gz: "Fixed" "Regular" 8x13.pcf.gz: "Fixed" "Regular" term14.pcf.gz: "Terminal" "Regular" 9x15.pcf.gz: "Fixed" "Regular" cu-pua12.pcf.gz: "ClearlyU PUA" "Regular" cu12.pcf.gz: "ClearlyU" "Regular" cu-alt12.pcf.gz: "ClearlyU Alternate Glyphs" "Regular" 18x18ko.pcf.gz: "Fixed" "ko" 10x20.pcf.gz: "Fixed" "Regular" Does anybody have a workaround for this problem?

