freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] [Doubt] About reading a font file to check for its driver.


From: Parth Wazurkar
Subject: [ft-devel] [Doubt] About reading a font file to check for its driver.
Date: Tue, 8 May 2018 02:16:37 +0530

Hi all,
while going through the code I found out that in file `src/base/ftobjs.c` in the function `ft_open_face_internal`, if the driver is not specified in the `FT_Open_Args' instance variable then it tries to open_face from all the installed available drivers for appropriate formats. Isn't this an extra overhead? Can't we to determine the driver from its filename extension?

Thank you

--
Parth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]