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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49187: Control FreeType with a configuration file

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

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

Excellent catch!  Fixed in git, please test.

Werner LEMBERG <wl>
Group administrator
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: 

Ouch.

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>
Group administrator
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

https://bbs.archlinux.org/viewtopic.php?id=216988

and

https://bugs.archlinux.org/task/50765

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>
Group administrator
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.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    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.13-758e.
    Corresponding source code