[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    Integrate ftbench into FreeType's build structure(s)
From:       Peter Frane <pfranejr () hotmail ! com>
Date:       2024-03-14 10:17:02
Message-ID: TYYP286MB171397D3A2530C2921D2010BD9292 () TYYP286MB1713 ! JPNP286 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

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

I modified ftbench to save its screen output to a file, which is then proce=
ssed by my module to produce an HTML file. The code can be found here: pgfj=
r/ftbench-html: ftbench with HTML output (github.com)<https://github.com/pg=
fjr/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 output=
s, of course, still need polishing, which I"m more than glad to do if I'm s=
elected for this project.

I look forward to hearing from you soon.

Regards,

Peter F.

[Attachment #5 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> Hello,</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> <br>
</div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">I'd like to work on this project: <b>Integrate \
ftbench into FreeType's build structure(s)</b>.&nbsp;I have implemented both \
approaches mentioned therein.&nbsp;</span></div> <div class="elementToProof"><span \
style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, \
0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">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: <a href="https://github.com/pgfjr/ftbench-html" \
                id="OWA352eb691-3086-fe88-09d0-5e4565647b0e" class="OWAAutoLink">
pgfjr/ftbench-html: ftbench with HTML output (github.com)</a>. Another version also \
modified ftbench to output an HTML file directly. The code is here: <a \
href="https://github.com/pgfjr/ft-bench-html-v.2" \
id="OWA82503be2-4695-256b-beb8-5e9cfdf8f100" class="OWAAutoLink"> \
pgfjr/ft-bench-html-v.2 (github.com)</a>.</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">I have attached the output of the latter for \
your viewing. Both HTML outputs, of course, still need polishing, which I&quot;m more \
than glad  to do if I'm selected for this project.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">I look forward to hearing from you \
soon.</span></div> <div class="elementToProof"><span style="font-family: Calibri, \
Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">Regards,</span></div> <div \
class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"><br> </span></div>
<div class="elementToProof"><span style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);">Peter F.</span></div> </body>
</html>


["log.html" (text/html)]

<html>
<head>
<title>
ftbench log.html
</title>
<style>
.bg {background-color: rgb(150, 212, 212);}	table {
	border-collapse: separate;
	border-spacing: 10px 0;
	}
	th, td {
	padding: 10px;
border-bottom: 1px solid #DDD;}
</style>
</head>
<body>
<h1>
ftbench results for font `d:\Regius-COLR.ttf'
</h1>
<table>
<tr>
<td class='bg'>family</td><td>Regius COLR</td>
</tr>
<tr>
<td class='bg'>style</td><td>COLR</td>
</tr>
<tr>
<td class='bg'>driver</td><td>truetype v40</td>
</tr>
<tr>
<td class='bg'>target</td><td>normal</td>
</tr>
<tr>
<td class='bg'>flags</td><td>0x0</td>
</tr>
<tr>
<td class='bg'>cmap</td><td>2</td>
</tr>
<tr>
<td class='bg'>glyphs</td><td>206</td>
</tr>
</table>
<br>
<table>
<tr>
<td class='bg'>font preloading into memory</td><td>mapped</td>
</tr>
<tr>
<td class='bg'>maximum cache size</td><td>1024 KiByte</td>
</tr>
</table>
<br>
<table>
<tr><th colspan='2' style='text-align: left;'>testing glyph indices from 0 to 205 at 10 ppem</th></tr>
<tr>
<td class='bg'>number of seconds for each test</td><td>2</td>
</tr>
</table>
<br>
<table>
<tr><th colspan='3' style='text-align: left;'>executing tests:</th></tr>
<tr>
<td class='bg' style='text-align: left;'>Load</td>
<td style='text-align: right;'>11.002 us/op</td>
<td style='text-align: right;'>    181898 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Load_Advances (Normal)</td>
<td style='text-align: right;'>11.877 us/op</td>
<td style='text-align: right;'>    168302 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Load_Advances (Fast)</td>
<td style='text-align: right;'>0.018 us/op</td>
<td style='text-align: right;'>  98636302 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Load_Advances (Unscaled)</td>
<td style='text-align: right;'>0.016 us/op</td>
<td style='text-align: right;'> 107192924 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Render</td>
<td style='text-align: right;'>3.911 us/op</td>
<td style='text-align: right;'>    150792 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Get_Glyph</td>
<td style='text-align: right;'>0.922 us/op</td>
<td style='text-align: right;'>    174894 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Get_Char_Index</td>
<td style='text-align: right;'>0.019 us/op</td>
<td style='text-align: right;'> 100485203 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Iterate CMap</td>
<td style='text-align: right;'>2.632 us/op</td>
<td style='text-align: right;'>    733466 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>New_Face</td>
<td style='text-align: right;'>47.113 us/op</td>
<td style='text-align: right;'>     42310 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Embolden</td>
<td style='text-align: right;'>5.175 us/op</td>
<td style='text-align: right;'>    132870 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Stroke</td>
<td style='text-align: right;'>53.137 us/op</td>
<td style='text-align: right;'>     30900 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Get_BBox</td>
<td style='text-align: right;'>0.716 us/op</td>
<td style='text-align: right;'>    833888 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>Get_CBox</td>
<td style='text-align: right;'>0.184 us/op</td>
<td style='text-align: right;'>    171598 done</td>
</tr>
<tr>
<td class='bg' style='text-align: left;'>New_Face & load glyph(s)</td>
<td style='text-align: right;'>1.152 us/op</td>
<td style='text-align: right;'>   1734932 done</td>
</tr>
</table>
</body>
</html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic