[interfacekit] Re: Font Face Remapping
- From: "Adi Oanca" <e2joseph@xxxxxxxxxx>
- To: <interfacekit@xxxxxxxxxxxxx>
- Date: Mon, 1 Sep 2003 21:33:52 +0300
From: "DarkWyrm"
> Hi, guys! I've _finally_ gotten around to poring over the BFont code
> and doing some more fixes and improvements and documenting the code. I
> came across something which I'm not sure what to do about, so I wanted
> to ask you guys for your opinions.
>
> 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 say... fall back on default(Regular). That way the developer would see
something is wrong and he would realize he's done a mistake.
Adi.
- References:
- [interfacekit] Font Face Remapping
- From: DarkWyrm
Other related posts:
- » [interfacekit] Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- » [interfacekit] Re: Font Face Remapping
- [interfacekit] Font Face Remapping
- From: DarkWyrm