bugThe FreeType Project - Bugs: bug #49187, Control FreeType with a...


bug #49187: Control FreeType with a configuration file

Submitted by:  Julian Orth <lee9rian>
Submitted on:  Mon 26 Sep 2016 08:10:00 AM UTC  
Severity:  3 - Normal Item Group:  Wishlist
Status:  Postponed Privacy:  Public
Assigned to:  Werner LEMBERG <wl> Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 23 Jan 2017 11:54:08 AM UTC, comment #5: 

Excellent catch!  Fixed in git, please test.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Fri 20 Jan 2017 04:37:36 PM UTC, comment #4: 

I believe that the underlying issue here is that FT_Init_FreeType calls ft_set_default_properties but users of FT_New_Library cannot.

Chromium uses Skia which is a library itself, and as a library Skia does not wish to use FT_Init_FreeType but instead FT_New_Library (both to avoid conflict with other users of the FT_Init_FreeType library and to set its own FT_Memory).

Either ft_set_default_properties should be made public so that users of FT_New_Library can use it (much like FT_Add_Default_Modules) or FT_New_Library should itself call ft_set_default_properties to set the default properties on the returned library.

bungeman <bungeman>
Mon 26 Sep 2016 10:33:00 AM UTC, comment #3: 


No, there is no way except patching FreeType.  BTW, I agree with other people who say that this is a Chromium bug...

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 26 Sep 2016 09:04:26 AM UTC, comment #2: 

Chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=649362

This is WontFix in chromium, effectively making the new 2.7 default mandatory in chromium. I don't like the new default and there are some others who don't like it either. See




Is there another way to change the default without patching freetype downstream?

Julian Orth <lee9rian>
Mon 26 Sep 2016 08:59:48 AM UTC, comment #1: 

This won't happen, at least not in the near future.

Can you give me a link w.r.t. Chromium and environment variables?

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 26 Sep 2016 08:10:00 AM UTC, original submission:  

Some programs, such as the chromium web browser, clear the environment variables. This means that freetype rendering in such programs cannot be changed via the FREETYPE_PROPERTIES environment variable.

Please provide a way to configure freetype rendering via configuration files.

Julian Orth <lee9rian>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bungeman (Posted a comment)
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by lee9rian (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-23 wl Assigned toNone => wl
    2016-11-06 wl Item GroupNone => Wishlist
        StatusNeed Info => Postponed
        Assigned towl => None
        SummaryConfiguration via FREETYPE_PROPERTIES is unreliable => Control FreeType with a configuration file
    2016-09-26 wl StatusNone => Need Info
        Assigned toNone => wl

    Back to the top

    Powered by Savane 3.5