Skip to content

Commit

Permalink
Merge pull request #132 from dohyunkim/master
Browse files Browse the repository at this point in the history
mplibglyph, mplibdrawglyph
  • Loading branch information
dohyunkim authored May 10, 2024
2 parents 7734e7a + 800e333 commit 7d10e5e
Show file tree
Hide file tree
Showing 5 changed files with 652 additions and 365 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
*.zip
*.mp
*.fls
*.dvi
21 changes: 21 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
History of the luamplib package

2024/05/10 2.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 primitive 'glyph' 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', option 'scale' is deprecated and now a synonym of
'scaled'. In DVI mode, unicode-math package is needed for math formula
graphictext.

2024/05/01 2.29.0

* provide new TeX macros to reduce typing toil.
Expand Down
Loading

0 comments on commit 7d10e5e

Please sign in to comment.