By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: FreeType Fixes Inefficient Code Causing 10x Startup Time Hit When Loading Arial TTF Font
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > FreeType Fixes Inefficient Code Causing 10x Startup Time Hit When Loading Arial TTF Font
Computing

FreeType Fixes Inefficient Code Causing 10x Startup Time Hit When Loading Arial TTF Font

News Room
Last updated: 2025/04/20 at 6:40 AM
News Room Published 20 April 2025
Share
SHARE
DESKTOP

The FreeType library for rendering text onto bitmaps that is widely used by a variety of applications has landed a set of three patches today providing an important performance improvement to address a significant inefficiency within the existing FreeType codebase.

Open-source developer Werner Lemberg has landed a set of three patches for speeding up the creation of the adjustment database’s reverse map. This is coming after it was uncovered that one of the functions can be extremely slow if a font is making use of a rich set of OpenType font features. The function could be called 66.9k times while loading the Arial TTF font and could increase FreeType’s startup time by a factor of ten.

Arial TTF

Werner Lemberg explained in the first patch of the series now merged to FreeType Git:

“As it turns out, the original implementation using `hb_ot_shape_glyphs_closure` is extremely slow if a font has a rich set of OpenType features. For example, this function was called 66954 times while loading font `arial.ttf` version 7.00, increasing FreeType’s startup time by a factor of 10, which is unacceptable.

The new algorithm uses a completely different, more low-level approach, no longer working with OpenType features but with OpenType lookups. It relies on function `hb_ot_layout_lookup_get_glyph_alternates`, also replacing recursion with a simple loop. In total, this brings the additional startup time back to an acceptable range of a few percent.

A side effect of the new approach is that it catches more alternate forms: the old code didn’t properly handle script-specific features.”

All three patches for speeding up the creation of the adjustment database’s reverse map are merged as of today to FreeType Git for helping the load times for fonts making use of rich OpenType features.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article OpenAI’s new reasoning AI models hallucinate more | News
Next Article Redis 8 Targets AI Applications with New Data Type for Vector Similarity
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Top 50 AI Tools Transforming Businesses in 2025 |
Computing
Two facilites to produge 3-nanometer chips unveiled in Noida, Bengaluru
Software
Three worlds in 2035: Imagining scenarios for how the world could be transformed over the next decade
News
EXCLUSIVE: Government calls in tech firms to roll out digital IDs – UKTN
News

You Might also Like

Computing

Top 50 AI Tools Transforming Businesses in 2025 |

88 Min Read
Computing

Why I Ditched JavaScript and Built a SaaS Stack With HTMX, Go & Postgres That Just Works | HackerNoon

8 Min Read
Computing

Horabot Malware Targets 6 Latin American Nations Using Invoice-Themed Phishing Emails

4 Min Read
Computing

Oracle Talks Up Its Adaptived Daemon For Linux Systems

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?