Re: Seamonkey UI font and OS/2 layout palette

Dave Yeo <[email protected]>
Newsgroups gmane.comp.mozilla.devel.os2
Message-ID <[email protected]>
Alex Taylor wrote:
> On Sat, 23 Jan 2016 17:35:47 UTC, Dave Yeo <[email protected]> wrote:
>
>>>> One odd behaviour I had here was when testing the new fontconfig, I lost
>>>>> Workplace Sans Bold (still worked with mzfntcfg and the font palette
>>>>> showed it as installed). Eventually I updated to the latest on your page
>>>>> and it came back. Seems to be a local problem as no-one else has
>>>>> complained after I made the test SM available.
>>> Strange.
>>
>> I may have screwed up my configuration during attempts to build and
>> install fontconfig before installing the new RPM one. Even now it
>> somewhat broken,
>> R:\tmp>fc-match warpsans
>> WPSU.TTF: "Workplace Sans" "Regular"
>>
>> R:\tmp>fc-match "warpsans bold"
>> DEJAVUSANS.TTF: "DejaVu Sans" "Book"
>>
>> need to spend some more time examining this.
>
> Probably just missing an alias def somewhere.  I imagine "DejaVu Sans" is
> the default sans font (fallback), so it's returning that because it doesn't
> find (or at any rate correctly resolve) a mapping from WarpSans Bold to
> Workplace Sans Bold.
>
> Not having looked at the code, however, that's just an educated guess.
>

It works fine on eCS2.2b2 where I haven't really installed any extra 
fonts. Andreas also seems to have similar problems.
Probably the default config is going to need more tweeking as also
E:\test>fc-match sans
DEJAVUSANS.TTF: "DejaVu Sans" "Book"

E:\test>fc-match sans-serif
DEJAVUSANS.TTF: "DejaVu Sans" "Book"

Need to do more reading
Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.