This is an old revision of the document!
Warning: Declaration of syntax_plugin_flowplay2::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in /customers/7/6/d/birdfont.org/httpd.www/doku/lib/plugins/flowplay2/syntax.php on line 66
Warning: Declaration of syntax_plugin_flowplay2::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in /customers/7/6/d/birdfont.org/httpd.www/doku/lib/plugins/flowplay2/syntax.php on line 114
Color Fonts with Embedded SVG files
You need the plus version of BirdFont in order to create color fonts.
Create a new font OpenType color font.
Import color glyphs (Command+I or Ctrl+I)
Toggle between the color and monochrome fallback version.
Generate a monochrome fallback for your color glyphs.
OpenType-SVG color fonts is a rather new format and some applications does not support it. Mozilla Firefox and Microsoft Edge has support color fonts in their browsers but Chrome lags behind at this point.
Note that you need to press Ctrl+refresh in order for Firefox to reload the font.
Creating monochrome fallback glyphs can take a long time if your glyphs contains many small parts (hundreds or even thousands). In addition will glyphs with too many details hardly fit on the TTF grid. You can get around this problem by creating an empty fallback glyph and importing a monochrome version with less details of your colored letters.