Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver

2013-06-12 Thread Michael Toftdal
Hi Werner, Okay, so in my specific case (CFF) the value is not used. I have been busy with other things, and was about to start making the change in the FreeType code that we talked about. But it's a little demotivating that the (required!) value is not used anyway... Thanks a lot for forwardi

Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver

2013-05-28 Thread Michael Toftdal
> Yes. The new code for the CFF version of `FT_Get_PS_Font_Private' had > just to call the function `cff_make_private_dict' and return the > result. Do you want to give it a try? Yes, I'll try sometime soon. We'll have to upgrade to the latest FreeType version first though, but that's usually p

Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver

2013-05-28 Thread Michael Toftdal
On 28/05/2013, at 20.28, Werner LEMBERG wrote: > The structure of a CIDFont is as follows: > ... Ahh, CIDFonts. I'm sorry. I had the FontSet notion in the CFF specification mixed up with the sub-font notion for CIDFonts in the FreeType code. > However, the FDArray data is *completely internal*

Re: [ft-devel] FT_Get_PS_Font_Private in CFF driver

2013-05-28 Thread Michael Toftdal
On 28/05/2013, at 15.05, Werner LEMBERG wrote: Hi, and thanks for looking into this, Werner. >> I need to lookup the StdVW value that is in the Type1 private dict >> of an OpenType font (with CFF outlines). > > Why? I need it for filling out a font descriptor in a PDF (it's the StemV value of

[ft-devel] FT_Get_PS_Font_Private in CFF driver

2013-05-27 Thread Michael Toftdal
I need to lookup the StdVW value that is in the Type1 private dict of an OpenType font (with CFF outlines). And since I already have the font loaded in FreeType, I was looking for a way to get the value from there. But the FT_Get_PS_Font_Private service is not available in the CFF driver, it app

Re: [ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-11 Thread Michael Toftdal
On Wed, Mar 11, 2009 at 7:40 AM, Werner LEMBERG wrote: > >> [...]  Another would be the one that I have ended up implementing by >> adding two methods to the cid service interface (pardon my FT >> vocabular -- I haven't spent more that one or two days in the source >> by now). One method to tell m

Re: [ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-10 Thread Michael Toftdal
rapped CID-keyed fonts. If I'm misunderstanding, > please correct. You're right, I mean OpenType fonts with a CID-keyed CFFs. > On Tue, 10 Mar 2009 10:46:22 +0100 > Michael Toftdal wrote: > >>I am working on a piece of software that is (/was) dependent on the >

[ft-devel] CID keyed fonts in sfnt wrappers in 2.3.8

2009-03-10 Thread Michael Toftdal
I am working on a piece of software that is (/was) dependent on the FT_FACE_FLAG_CID_KEYED flag and the 2.3.7 fact, that glyph index == CID for CID keyed fonts (also those in sfnt wrappers). After upgrading to 2.3.8, I obviously got a small problem. I need the CIDs for outputting PostScript, where