~~NOTOC~~ ====== Distancefieldfont ====== ---- dataentry extension ---- author_mail : filharvey@gmail.com Phil Harvey description : Text that remains crisp even when scaled. lastupdate_dt : 2013-06-11 # the date you created the extension compatible : v1.3 # the Starling version you tested the extension with depends : # if the ext. depends on others, list them here tags : font, bitmap font # enter a few tags, separated by commas homepage_url : https://gist.github.com/filharvey/5756135 download_url : # a direct link to the download (e.g. the Gist-archive) ---- ===== Overview ===== DistanceFieldFont is an extension for starling and FeathersUI to use Distance Field Fonts instead of normal Bitmap fonts. You can read more on Distance Field Fonts here: * [[http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf|Siggraph 2007 - Improved Alpha-Tested Magnification for Vector Textures]] * [[https://code.google.com/p/libgdx/wiki/DistanceFieldFonts|LibGDX Distance Field Fonts]] Currently there is no easy way to create the fonts. The program I have found is called SDFont. Do a search on Google for it. Also this currently exports the font file as a text and not XML. {{ http://badlogicgames.com/forum/download/file.php?id=961&this_is_actually_a.png?450 |}} ===== Changelog ===== * //2013/06/11 11:31//: First public version ===== Source Code ===== %gist(5756135)% ===== User Comments ===== //Feel free to edit this part of the page!//