[ft] Using FreeType for matching font metrics

2013-10-23 Thread Martin Kotulla (SoftMaker)
List, I am looking at the following problem and hope that FreeType allows me to implement a solution: Office documents are created by our customers on Windows using fonts that are available there. These document shall then be rendered by our software on other platforms (such as Linux). When

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread suzuki toshiya
Hi, Excuse me, please let me know more detail about your question. You expect that the FreeType2 provides a special API to make a font instance with per-glyph interpolation parameters, even if no other font rasterizer can have such? I remember ISO/IEC 14496-28 (Composite Font Representation)

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Khaled Hosny
On Wed, Oct 23, 2013 at 08:33:05PM +0900, suzuki toshiya wrote: Hi, Excuse me, please let me know more detail about your question. You expect that the FreeType2 provides a special API to make a font instance with per-glyph interpolation parameters, even if no other font rasterizer can

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Martin Kotulla (SoftMaker)
On 23.10.2013 13:36, Khaled Hosny wrote: I think some Adobe software does that, or how can Adobe MM font be adapted to metrics of missing fonts in Adobe Reader? Regards, Khaled Yes, it would be similar to what Adobe Reader does when it renders a PDF and the font is neither available in the

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread suzuki toshiya
On 10/23/2013 08:38 PM, Martin Kotulla (SoftMaker) wrote: On 23.10.2013 13:36, Khaled Hosny wrote: I think some Adobe software does that, or how can Adobe MM font be adapted to metrics of missing fonts in Adobe Reader? Regards, Khaled Yes, it would be similar to what Adobe Reader does when

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Martin Kotulla (SoftMaker)
On 23.10.2013 14:53, suzuki toshiya wrote: Because the number of master faces in MM font is less than 16, it is impossible to make a MM font with 26 x 2 axis. This would not work anyway for my case because all design axes would then be applied simultaneously. And this is not what I want. It is

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Dave Arnold
Hi Martin, There are two special MM fonts that Adobe Acrobat uses for this purpose, AdobeSansMM and AdobeSerifMM. The Adobe rasterizer for Multiple Master takes an extra parameter, the weight vector, for rendering a glyph. This specifies the weighting to be applied to each master design in

Re: [ft] [ft-devel] Windows x64 Build

2013-10-23 Thread Werner LEMBERG
I'll arrange the files accordingly in the git repository, then asking you again for testing. I've done this right now. Werner ___ Freetype mailing list Freetype@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Martin Kotulla (SoftMaker)
Dave: Thank you for the additional background information. As I know a bit about font creation, I do agree that there is hard work in creating a Multiple Master typeface with a reasonably large character set and a wide range of scalability. I'd also rather use embedded fonts, but the source

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Dave Arnold
Sorry, Martin. The CFF rasterizer that we contributed to FreeType has never had multiple master support. And although there was some early work to build CFF MM fonts, this capability was removed from the CFF spec. -Dave On 10/23/2013 11:14 AM, Martin Kotulla (SoftMaker) wrote: Or would

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread Martin Kotulla (SoftMaker)
On 23.10.2013 21:13, Dave Arnold wrote: Sorry, Martin. The CFF rasterizer that we contributed to FreeType has never had multiple master support. And although there was some early work to build CFF MM fonts, this capability was removed from the CFF spec. -Dave Dave: You are right of

Re: [ft] Using FreeType for matching font metrics

2013-10-23 Thread James Cloos
You need the metrics of the original fonts as well as basic style info (serif/sans, mono/variable, weight, et cetera) and to create a mapping from each glyph of each original face to a substitute glyph -- the map can be a global, pre-computed const table. When creating that map, you may find that

Re: [ft] Any interest in CMakeLists.txt for freetype?

2013-10-23 Thread Werner LEMBERG
Sorry for the late response. Attached is a CMakeLists.txt generated for freetype-2.5.0.1. With this one can configure unixish and Windows with the one script. This is gladly donated to the freetype project. Thanks! Is it acceptable to add it to the repo somehow? Well, my main problem

Re: [ft-devel] New Microsoft size-specific design selection mechanism

2013-10-23 Thread Denis Jacquerye
The reason given for not using the 'size' feature is the lack of implementation and the fact that 'size' is a GPOS feature, not the best place for this. On Tue, Oct 22, 2013 at 7:52 PM, James Cloos cl...@jhcloos.com wrote: BE == Behdad Esfahbod beh...@behdad.org writes: BE

Re: [ft-devel] Windows x64 Build Re: Freetype-devel Digest, Vol 105, Issue 12

2013-10-23 Thread Werner LEMBERG
Hello Hin-Tak! Just wish to point out that a copy of the whole of freetype is bundled with ghostscript, and ghostscript has been routinely built for win64 for quite a few years. For as long as it was, the preferred compiler for building ghostscript for windows has always been MS VC. I