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)<https://github.com/pgfjr/ftbench-html>. Another version also
modified ftbench to output an HTML file directly. The code is here:
pgfjr/ft-bench-html-v.2
(github.com)<https://github.com/pgfjr/ft-bench-html-v.2>.
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.
Title:
ftbench log.html
ftbench results for font `d:\Regius-COLR.ttf'
family | Regius COLR |
style | COLR |
driver | truetype v40 |
target | normal |
flags | 0x0 |
cmap | 2 |
glyphs | 206 |
font preloading into memory | mapped |
maximum cache size | 1024 KiByte |
testing glyph indices from 0 to 205 at 10 ppem |
number of seconds for each test | 2 |
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 |