Re: RUfl font substitution

2011-12-08 Thread W P Blatchley
On Thu, 08 Dec 2011 13:00:15 +0100, wrote: > Is the font chosen just the first one RUfl encounters > (alphabetically?) that has a match? Pretty much, yes. See: http://source.netsurf-browser.org/trunk/rufl/src/rufl_init.c?revision=9792&view=markup#l1061 Just to explain the motivation behin

Re: RUfl font substitution

2011-12-07 Thread James Bursa
On Mon, 05 Dec 2011 21:26:19 + John-Mark Bell wrote: > On Mon, 2011-12-05 at 19:38 +0100, W P Blatchley wrote: > > Is the font chosen just the first one RUfl encounters > > (alphabetically?) that has a match? > > Pretty much, yes. See: > http://source.netsurf-browser.org/trunk/rufl/src/rufl

Re: RUfl font substitution

2011-12-06 Thread W P Blatchley
On Tue, 06 Dec 2011 13:00:21 +0100, wrote: So, the substitution table is just a single mapping of UCS code point -> one (of a possible many) fonts that contain a glyph for that code point? That's what I wrote, yes. Sorry if what I wrote seemed redundant. I find paraphrasing a useful way

Re: RUfl font substitution

2011-12-05 Thread John-Mark Bell
On Mon, 2011-12-05 at 19:38 +0100, W P Blatchley wrote: > On Mon, 05 Dec 2011 13:00:17 +0100, > wrote: > > > No, it doesn't. It *will* match styles/weight when selecting the > > appropriate initial font, but the substitution table is built without > > paying attention to this information. As RI

Re: RUfl font substitution

2011-12-05 Thread W P Blatchley
On Mon, 05 Dec 2011 13:00:17 +0100, wrote: No, it doesn't. It *will* match styles/weight when selecting the appropriate initial font, but the substitution table is built without paying attention to this information. As RISC OS fonts carry little metadata about styles/weights, RUfl simply uses

Re: RUfl font substitution

2011-12-05 Thread John-Mark Bell
On Mon, 2011-12-05 at 07:33 +0100, W P Blatchley wrote: > Now I've expanded the repertoire of UCS fonts on my system, I'm wondering > how RUfl decides from which fonts to take glyphs for substituting when > they're not present in the font being painted with. Could someone explain, > please?

RUfl font substitution

2011-12-04 Thread W P Blatchley
Now I've expanded the repertoire of UCS fonts on my system, I'm wondering how RUfl decides from which fonts to take glyphs for substituting when they're not present in the font being painted with. Could someone explain, please? Is any attempt made to match styles and weights, and if so, how