Semeriak, AleksandraX | 24 Apr 16:08 2015

[ft] Freetype x86

Dear FreeType Team,

My name is Aleksandra Semeriak and I am an account manager within the Software & Services Group (SSG) at Intel Corporation. We have come across several great Android apps that are taking advantage of Freetype.

As far as I found out the Freetype does support Android x86 platforms natively, although this option is not set by default. This might become a roadblock for some developers who are working to port their applications to Android x86. We would like to know if there would be an interest from your side and opportunity to make the x86 version the default version of Freetype. If you have any additional questions or requests, I would be happy to help.


Looking forward to hearing back from you.



Aleksandra Semeriak

Intel Software Partner Program

+44 3300088836

aleksandrax.semeriak <at>

P Please consider the environment before printing this email.

Intel is committed to protecting your privacy. For more information about Intel's Privacy Notice, please visit

or write Intel Corporation, ATTN Privacy, Mailstop RNB4-145, 2200 Mission College Blvd., Santa Clara, CA 95054 USA.


Freetype mailing list
Freetype <at>
Wojciech Mamrak | 15 Apr 11:06 2015

[ft] FT_FloorFix and FT_CeilFix


FT_FloorFix does not round towards minus infinity and FT_CeilFix
towards plus infinity for fractional
negative values. This is inconsistent with expected semantics as well
as the docs, according to which these functions work as expected. The
problem with the docs is, that FT_RoundFix is semantically correct,
yet the description is incorrect w.r.t. to its semantics.
Werner pointed me out these are solitary (legacy?) functions not used
in FT anywhere, added back in 2001.

Example for FT_FloorFix:

Please comment.
Manjesh HS | 9 Apr 11:08 2015

[ft] security vulnerabilities in freetype

The below security vulnerabilities have been reported for freetype package:

CVE-2014-9656  | CVE-2014-9657  | CVE-2014-9658  | CVE-2014-9659  | CVE-2014-9660  | CVE-2014-9661  | CVE-2014-9662  | CVE-2014-9663  | CVE-2014-9664  | CVE-2014-9665  | CVE-2014-9666  | CVE-2014-9667  | CVE-2014-9668  | CVE-2014-9669  | CVE-2014-9670  | CVE-2014-9671  | CVE-2014-9672  | CVE-2014-9673  | CVE-2014-9674  | CVE-2014-9675 

Are these already fixed in freetype-2.5.5 release ? Please kindly confirm.

Freetype mailing list
Freetype <at>
Rodrigo Cano | 26 Mar 21:46 2015

[ft] Building for x64 only on mac.


Another application I'm using requires that I have free type built as a 64bit dylib for mac. Following the standard way of configuring then building its creating either a 32bit library or possibly a universal library. Is there any easy way to direct make to build a 64bit library?

Thanks for your time.
Freetype mailing list
Freetype <at>
Lawrence D'Oliveiro | 25 Mar 03:52 2015

[ft] Multiple Masters In A TTF File?

Hunting around for Multiple Master fonts, I came across the name
“ImpossibleMM”, which in turn led me to this page
<>, which has this one and a
whole bunch of others.

So I downloaded, but the files are in .ttf format,
unlike the others I have found elsewhere in .pfb format. And trying to
get info from all the .ttf files in this archive using
FT_Get_Multi_Master returns nothing, unlike those .pfb ones where it did

Any suggestions on what I should try?


Freetype mailing list
Freetype <at> | 22 Mar 16:35 2015

[ft] Opentype support of specual characters


is it possible to use the special characters like ö, ü, ö, ß from opentype (otf) fonts in PHP?

I tried to that and it was not possible. I only get a square output.
I used this: 

ImageTTFText ($image, 30, 0, 0, 40, $font,"tmp/AnieneNuovaEF-Regular.otf",$text);
With TTF fonts it was possible.


Freetype mailing list
Freetype <at>
Oliver Marks | 22 Mar 15:35 2015

[ft] Cross compiling for arm (python for android)

I am trying to build the freetype library for android currently it seems to build correctly but i do not get the files i am expecting.

if i run ./configure --host=arm-eabi i get the files below


if i run just ./configure i get


so basically the .so files that are required are missing, can anyone expain why and how i may rectify this ?

the output from ./configure --host=arm-eabi is here

Any help would be appreciated i am a bit out of my depth :/

Freetype mailing list
Freetype <at>
Markus Trippelsdorf | 21 Mar 23:22 2015

[ft] update on gamma correction and freetype

As a quick follow up on the interesting discussion from 2013 here is how
you can enable gamma 1.8 for text blending in qt5 and the Chromium
browser on Linux. It will look best with fonts that use freetype's CFF
rasterizer and of course one could play with different gamma values (1.8
just looks best to me).

For qt5 you need to patch qtbase:

diff --git a/src/plugins/platforms/xcb/qxcbintegration.cpp b/src/plugins/platforms/xcb/qxcbintegration.cpp
index 258359d20f28..8181aeaf5c8b 100644
--- a/src/plugins/platforms/xcb/qxcbintegration.cpp
+++ b/src/plugins/platforms/xcb/qxcbintegration.cpp
 <at>  <at>  -357,7 +357,7  <at>  <at>  QVariant QXcbIntegration::styleHint(QPlatformIntegration::StyleHint hint) const
         break; // Not implemented, use defaults
     case QPlatformIntegration::FontSmoothingGamma:
         // Match Qt 4.8 text rendering, and rendering of other X11 toolkits.
-        return qreal(1.0);
+        return qreal(1.8);
     case QPlatformIntegration::StartDragDistance: {
         // The default (in QPlatformTheme::defaultThemeHint) is 10 pixels, but
         // on a high-resolution screen it makes sense to increase it.

For Chromium, src/third_party/skia needs to be patched:

diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index d08f68a1d91c..97fec8b47826 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
 <at>  <at>  -389,12 +389,9  <at>  <at> 


-#if defined(SK_GAMMA_EXPONENT) && defined(SK_GAMMA_SRGB)
-#  error "cannot define both SK_GAMMA_EXPONENT and SK_GAMMA_SRGB"
-#elif defined(SK_GAMMA_SRGB)
-#  define SK_GAMMA_EXPONENT (0.0f)
-#elif !defined(SK_GAMMA_EXPONENT)
-#  define SK_GAMMA_EXPONENT (2.2f)
+#  define SK_GAMMA_EXPONENT (1.8f)
+#  define SK_GAMMA_CONTRAST (0.0f)

 #endif // SkPostConfig_DEFINED


Lawrence D'Oliveiro | 21 Mar 05:43 2015

[ft] python_freetype Now Supports Multiple Masters

I have added Multiple Masters/TrueType GX support to my Python3 wrapper
for FreeType <>.

In the process, I discovered an interesting gotcha with the Cairo
graphics library: Cairo doesn’t expect you to be changing font
parameters in this way. This means you must load a new copy of the
FT_Face for each set of design coordinates you want to set before
passing it to Cairo.

Freetype mailing list
Freetype <at>
Werner LEMBERG | 18 Mar 15:09 2015

[ft] simplified installation of ttfautohint with Homebrew

An updated formula for installing ttfautohint *and* ttfautohintGUI has
just been committed to Homebrew.  This greatly simplifies installation
on OS X.  The updated installation instructions can be found at

Freetype mailing list
Freetype <at>
Vincent Torri | 13 Mar 11:17 2015

[ft] about CVE4s


I would like to know the status of the fixes for the CVE reported here :

thank you

Vincent Torri