[interfacekit] Re: Font Face Remapping

"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> For those unfamiliar, BeOS has two different ways of setting the 
> style 
> for a BFont - by its style name or by a face flag. Seeing how some 
> font 
> families don't have every style, I was wondering in what way we could 
> map a request for a particular face to a different (but usable) font 
> style. For example, let's say I have the Times New Roman family 
> installed, but I don't have Bold Italic - I just have the Regular, 
> Bold, and Italic styles. I can choose bold _or_ italics, but not both 
> because the font is not installed. The application in question 
> requests 
> for Bold Italics via SetFamilyAndFace(). What should be done here? 
> Should it just fail? Should it substitute it with a replacement?

I know that I didn't like the BeOS behaviour in this when I came to the 
platform, although I've got used to it.
In fact, I still think that automatic substitution would be a good 
thing, if possible, but it should not been shown to the user as an 
option in the font menus. I.e. the font "Sassa" should only have 
"Regular" and "Bold" faces when asked for it, but if you specifically 
ask for a italics face, it should be able to substitute it from the 
existing faces (by shearing about a predefined value or something). 
OTOH I am not sure if that has to be, since those fonts often look not 
so good anymore, so its usage would be very limited...

Although, what I didn't like even more is the missing possibility of 
having underlined text :-)

Adios...
   Axel.


Other related posts: