Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Fri, 18 Jul 2008 11:02:40 -0700 (PDT),    group: microsoft.public.win32.programmer.gdi        back       


How to merge font subset and font delta extracted from EMF spool file.   
Hi,
I am extracting fonts from EMF spool files.

The Enhanced Metafile Spool Format Specification (http://
msdn.microsoft.com/en-us/library/cc204694.aspx) defines 2 records for
TrueType font subset and delta:

EMRI_SUBSET_FONT and EMRI_DELTA_FONT

I have no problem extracting the data for those 2 records. My problem
is I do not know what to do with the extracted data, and the spec says
nothing about that.
The only thing that is said is: "An EMRI_DELTA_FONT record defines new
glyphs to be merged with data from a preceding EMRI_SUBSET_FONT
record"

How do I merge the data from those 2 records?

Thanks in advance for your help

Charles
date: Fri, 18 Jul 2008 11:02:40 -0700 (PDT)   author:   unknown

Re: How to merge font subset and font delta extracted from EMF spool file.   
Sounds like their documentation on this is every bit as useful as the rest of the enhanced
metafile documentation (which sucks).

I spent a lot of time reverse-engineering EMR_ records, but I don't handle EMRI_
records...but you could take my MetaFile Explorer and play with it a bit if you need to
look at the internals...

Otherwise, I don't really have a clue.
				joe

On Fri, 18 Jul 2008 11:02:40 -0700 (PDT), delasac@ca.objectiflune.com wrote:

>Hi,
>I am extracting fonts from EMF spool files.
>
>The Enhanced Metafile Spool Format Specification (http://
>msdn.microsoft.com/en-us/library/cc204694.aspx) defines 2 records for
>TrueType font subset and delta:
>
>EMRI_SUBSET_FONT and EMRI_DELTA_FONT
>
>I have no problem extracting the data for those 2 records. My problem
>is I do not know what to do with the extracted data, and the spec says
>nothing about that.
>The only thing that is said is: "An EMRI_DELTA_FONT record defines new
>glyphs to be merged with data from a preceding EMRI_SUBSET_FONT
>record"
>
>How do I merge the data from those 2 records?
>
>Thanks in advance for your help
>
>Charles
date: Thu, 31 Jul 2008 13:07:58 -0400   author:   Joseph M. Newcomer

Re: How to merge font subset and font delta extracted from EMF spool file.   
Ok Joe, thanks.
I'll have a look at your MetaFile explorer.

I also tried to merge font subset and font delta using the
CreateFontPackage and MergeFontPackage APIs. This is my best bet so
far, but I haven't been able to make it work.


Charles
date: Tue, 5 Aug 2008 09:44:15 -0700 (PDT)   author:   delasac

Re: How to merge font subset and font delta extracted from EMF spool file.   
You need to check out the TrueType specs. And implement the merging 
yourself. You might want to have a look at the code from FreeType project. 
You might also get lucky with MS Font Embedding Services Library 
(MergeFontPackage) but I have not tried that.

-- 
Christoph Lindemann
Undocumented Printing
http://www.undocprint.org/


 wrote in message 
news:abdbc22d-bab5-439b-8c2d-2bf1c0fb0644@m45g2000hsb.googlegroups.com...
> Hi,
> I am extracting fonts from EMF spool files.
>
> The Enhanced Metafile Spool Format Specification (http://
> msdn.microsoft.com/en-us/library/cc204694.aspx) defines 2 records for
> TrueType font subset and delta:
>
> EMRI_SUBSET_FONT and EMRI_DELTA_FONT
>
> I have no problem extracting the data for those 2 records. My problem
> is I do not know what to do with the extracted data, and the spec says
> nothing about that.
> The only thing that is said is: "An EMRI_DELTA_FONT record defines new
> glyphs to be merged with data from a preceding EMRI_SUBSET_FONT
> record"
>
> How do I merge the data from those 2 records?
>
> Thanks in advance for your help
>
> Charles
date: Fri, 8 Aug 2008 10:55:28 +0200   author:   Christoph Lindemann am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us