
Public Member Functions | |
| virtual bool UC_DLL_CALL | mapFont (FeHandle *editor, PlatformTypes::font_handle_type src, PlatformTypes::font_handle_type &dst) const =0 |
Instance of this class is used by an editor to translate fonts returned by the attached fe::IDecorator instance.
| virtual bool UC_DLL_CALL fe::IFontMapper::mapFont | ( | FeHandle * | editor, | |
| PlatformTypes::font_handle_type | src, | |||
| PlatformTypes::font_handle_type & | dst | |||
| ) | const [pure virtual] |
Maps one font into another. To indicate successful font translation method should return true, otherwise false. It is ok to set dst font to 0. This instructs editor to use default font instead of a src font.
| editor | editor calling the method; never 0; | |
| src | source font to translate; can be 0; | |
| dst | reference to a translated font. |
false to indicate error.