| View previous topic :: View next topic |
| Author |
Message |
Fernando Nadal Martínez Guest
|
Posted: Wed Mar 30, 2005 9:10 am Post subject: Display Text with Uninstalled Font |
|
|
Hi ALL,
I need to display a text using a font not installed in my system. The
font is in a TTF file stored in some arbitrary folder. How can I do that?
Thanks.
|
|
| Back to top |
|
 |
Boris Novgorodov Guest
|
Posted: Wed Mar 30, 2005 1:00 pm Post subject: Re: Display Text with Uninstalled Font |
|
|
| Quote: | I need to display a text using a font not installed in my system. The
font is in a TTF file stored in some arbitrary folder. How can I do that?
|
AddFontResource(Ex) + WM_FONTCHANGE
RemoveFontResource ( if needed)
--
Regards
Boris Novgorodov
|
|
| Back to top |
|
 |
Mike Lischke Guest
|
Posted: Wed Mar 30, 2005 2:35 pm Post subject: Re: Display Text with Uninstalled Font |
|
|
Fernando Nadal Martínez wrote
| Quote: | I need to display a text using a font not installed in my system. The
font is in a TTF file stored in some arbitrary folder. How can I do that?
|
Either install the font temporarily or use freetype (see Sourceforge). But
this requires more work (freetype is written in C++).
Mike
--
www.soft-gems.net
|
|
| Back to top |
|
 |
Fernando Nadal Martínez Guest
|
Posted: Thu Mar 31, 2005 9:05 am Post subject: Re: Display Text with Uninstalled Font |
|
|
Boris Novgorodov wrote:
| Quote: | I need to display a text using a font not installed in my system. The
font is in a TTF file stored in some arbitrary folder. How can I do that?
AddFontResource(Ex) + WM_FONTCHANGE
RemoveFontResource ( if needed)
|
Thanks Boris
|
|
| Back to top |
|
 |
|