On Mon, 05 Dec 2011 13:00:17 +0100,
<netsurf-dev-request(a)netsurf-browser.org> 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 the font name as a
guide.
I don't quite follow this. What do you mean by "initial font" here? Sorry
if I'm being slow!
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?
Is the font chosen just the first one RUfl encounters (alphabetically?)
that has a match?
And what does RUfl take as hints to the font style from the name?
".Medium" and ".Bold", that kind of thing?
Many thanks,
WPB