v2.30.0
-
provide a new metapost operator
mplibglyph
, which returns a metapost
picture containing outline paths of a glyph in opentype, truetype or type1
fonts. When a type1 font is specified, metapost primitiveglyph
will be
called. In the syntax as follows, subfont number is zero based.mplibglyph 50 of \fontid\font % slot 50 of current font mplibglyph 50 of "cmr10" % type1 font mplibglyph "Q" of "TU/TeXGyrePagella(0)/m/n/10" % TeX fontname mplibglyph "똠" of "NotoSansCJKkr-Regular.otf" % raw filename mplibglyph "Q" of "Times.ttc(2)" % subfont number mplibglyph "똠" of "SourceHanSansK-VF.otf[Regular]" % instance name
-
provide a new metapost command
mplibdrawglyph
. In contrast to metapost's
draw
command, this one fills paths of a picture according to the Nonzero
Winding Number Rule. -
in
mplibgraphictext
, optionscale
is deprecated and now a synonym of
scaled
. In DVI mode, unicode-math package is needed for math formula
graphictext.