Re: Getting AddFontMemResourceEx to load multiple fonts
- From: "rsegal" <r9segal@xxxxxxxxxx>
- Date: 11 Aug 2005 13:53:57 -0700
Kellie Fitton wrote:
> Hi,
>
> I've several colleagues who have tried to use this function to load the
> ADOBE type
> 1 font withOut any success whatsoever. Yes, what I was saying is you
> will not be
> able to load multiple different fonts, however, you can embed fonts in
> an .EXE
> or .DLL file (binary resource font file) and make it available to your
> application,
> withOut creating an interim file, by using the API
> AddFontMemResourceEx().
>
> On the other hand, for TrueType fonts, you can write it to a disk file,
> then call the
> API CreateScalableFontResource() to create the .FON resource file, and
> then call
> the API AddFontResourceEx() and add it to the font table as well.
>
> Kellie.
Thanks for the info Kellie. Your last comment brings up another
problem I was having. I've been trying out AddFontResourceEx thinking
maybe I'd be able to load some of the fonts that weren't working with
AddFontMemResourceEx. I was right. I've been able to load every font
I've tried so far including the Adove Type 1 fonts. Works great.
Based on that I'm wondering what the internal difference between
AddFontResourceEx and AddFontMemResourceEx is. Without the source code
this is pretty hard to do so I'm hoping someone here is able to answer
that question.
.
- References:
- Getting AddFontMemResourceEx to load multiple fonts
- From: rsegal
- Re: Getting AddFontMemResourceEx to load multiple fonts
- From: rsegal
- Getting AddFontMemResourceEx to load multiple fonts
- Prev by Date: Re: Improving Application Performance by DISABLING hardware acceleration?
- Next by Date: Re: Help with scaling in GDI...
- Previous by thread: Re: Getting AddFontMemResourceEx to load multiple fonts
- Next by thread: Reading a DIB's palette
- Index(es):
Relevant Pages
|