freetype-devel
[Top][All Lists]
Advanced

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

Integrate ftbench into FreeType's build structure(s)


From: Peter Frane
Subject: Integrate ftbench into FreeType's build structure(s)
Date: Thu, 14 Mar 2024 10:17:02 +0000

Hello,

I'd like to work on this project: Integrate ftbench into FreeType's build structure(s). I have implemented both approaches mentioned therein. 

I modified ftbench to save its screen output to a file, which is then processed by my module to produce an HTML file. The code can be found here: pgfjr/ftbench-html: ftbench with HTML output (github.com). Another version also modified ftbench to output an HTML file directly. The code is here: pgfjr/ft-bench-html-v.2 (github.com).

I have attached the output of the latter for your viewing. Both HTML outputs, of course, still need polishing, which I"m more than glad to do if I'm selected for this project.

I look forward to hearing from you soon.

Regards,

Peter F.

ftbench results for font `d:\Regius-COLR.ttf'

familyRegius COLR
styleCOLR
drivertruetype v40
targetnormal
flags0x0
cmap2
glyphs206

font preloading into memorymapped
maximum cache size1024 KiByte

testing glyph indices from 0 to 205 at 10 ppem
number of seconds for each test2

executing tests:
Load 11.002 us/op 181898 done
Load_Advances (Normal) 11.877 us/op 168302 done
Load_Advances (Fast) 0.018 us/op 98636302 done
Load_Advances (Unscaled) 0.016 us/op 107192924 done
Render 3.911 us/op 150792 done
Get_Glyph 0.922 us/op 174894 done
Get_Char_Index 0.019 us/op 100485203 done
Iterate CMap 2.632 us/op 733466 done
New_Face 47.113 us/op 42310 done
Embolden 5.175 us/op 132870 done
Stroke 53.137 us/op 30900 done
Get_BBox 0.716 us/op 833888 done
Get_CBox 0.184 us/op 171598 done
New_Face & load glyph(s) 1.152 us/op 1734932 done

reply via email to

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