Hi, I uploaded a new beta. This version has (experimental) support for color fonts. (not to be confused with 'coloring text in a font'). \definefontfeature[svg] [default][svg=yes] \definefontfeature[colored][default][colr=yes] % \definefont[Emoj][file:emojionecolor-svginot.ttf*default,svg] % \definefont[Emoj][file:seguiemj.ttf*default,colored] \definesymbol[bug1][\getglyphdirect{file:emojionecolor-svginot.ttf*svg}{\char"1F41B}] \definesymbol[bug2][\getglyphdirect{file:seguiemj.ttf*colored} {\char"1F41B}] \startTEXpage [width=10em,align=middle,offset=1em] There are several kind of bugs, like \symbol [bug1] and \symbol [bug2], also in \CONTEXT ! \stopTEXpage The colr features uses (if present) the overlay method (microsoft fonts have that) which is quite clean and efficient, while the svg one uses (when present) svg information from the font. Caching the later one will take some initial time (due to conversion, i might figure out something better) and needs inkscape installed. Attached an example. I didn't look too extensively for a font, but on the agenda is turning the cowfont in a color one (maybe for the ctx meeting). At some point I might add overloading of colors (for the overlay variant). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 8 Jun 2016, at 16:41, Hans Hagen
wrote:
I uploaded a new beta.
The OS X installation page does not say how to update when installing system wide into /Applications/. http://wiki.contextgarden.net/Mac_Installation
On 6/8/2016 6:27 PM, Hans Åberg wrote:
On 8 Jun 2016, at 16:41, Hans Hagen
wrote: I uploaded a new beta.
The OS X installation page does not say how to update when installing system wide into /Applications/.
just run first_setup again ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On 2016-06-08 Hans Hagen wrote:
This version has (experimental) support for color fonts. ... svg one uses svg information from the font
Btw, SVG fonts were removed from SVG 2.0 and considered as a deprecated feature: http://caniuse.com/#feat=svg-fonts https://lists.w3.org/Archives/Public/www-svg/2013Jan/0030.html Jan
participants (3)
-
Hans Hagen
-
Hans Åberg
-
Jan Tosovsky