<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/plugins/puzzles/fonts.zip, branch duke3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>puzzles: dynamic text size via custom font pack</title>
<updated>2017-07-17T20:58:13+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-07-12T16:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e7a35ba3833925043b1b3e4a164e06058500bcd8'/>
<id>e7a35ba3833925043b1b3e4a164e06058500bcd8</id>
<content type='text'>
Up to now, we'd just ignore whatever font size the puzzle asked for,
and instead just go with either the UI font or system font regardless
of their size, which led to some horrible-looking puzzles. This patch
adds the ability to automatically load fonts of the proper size when
they are available, which makes text-based puzzles such as Pattern and
Slant function correctly with any UI font.

The font pack, which should be extracted to the system-wide fonts
directory consists of 3 small bitmap fonts from 7px to 10px and then
anti-aliased Deja Vu fonts from 10px to 36px. It is available in the
source tree (apps/plugins/puzzles/fonts.zip), or from
&lt;http://download.rockbox.org/useful/sgt-fonts.zip&gt;.

Change-Id: I05c8fe7bd6d867e14de9b941deb91e8c642ee4a8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Up to now, we'd just ignore whatever font size the puzzle asked for,
and instead just go with either the UI font or system font regardless
of their size, which led to some horrible-looking puzzles. This patch
adds the ability to automatically load fonts of the proper size when
they are available, which makes text-based puzzles such as Pattern and
Slant function correctly with any UI font.

The font pack, which should be extracted to the system-wide fonts
directory consists of 3 small bitmap fonts from 7px to 10px and then
anti-aliased Deja Vu fonts from 10px to 36px. It is available in the
source tree (apps/plugins/puzzles/fonts.zip), or from
&lt;http://download.rockbox.org/useful/sgt-fonts.zip&gt;.

Change-Id: I05c8fe7bd6d867e14de9b941deb91e8c642ee4a8
</pre>
</div>
</content>
</entry>
</feed>
