[latex3-commits] [git/LaTeX3-latex3-luaotfload] dev: use file instead of font name (cf69ed7)

Ulrike Fischer fischer at troubleshooting-tex.de
Fri Jan 24 23:40:48 CET 2020


Repository : https://github.com/latex3/luaotfload
On branch  : dev
Link       : https://github.com/latex3/luaotfload/commit/cf69ed7d92c9f0b8eed0adedbf73c055236a9f11

>---------------------------------------------------------------

commit cf69ed7d92c9f0b8eed0adedbf73c055236a9f11
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Jan 24 23:40:48 2020 +0100

    use file instead of font name


>---------------------------------------------------------------

cf69ed7d92c9f0b8eed0adedbf73c055236a9f11
 doc/luaotfload-main.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/luaotfload-main.tex b/doc/luaotfload-main.tex
index 0bd39d9..cbae47f 100644
--- a/doc/luaotfload-main.tex
+++ b/doc/luaotfload-main.tex
@@ -787,7 +787,7 @@ obviously, \inlinecode{random}.
          \beginlisting
          \font\burmesefont={file:NotoSerifMyanmar-Regular.ttf:mode=harf;script=mym2;}
          \font\devafont={file:NotoSansDevanagari-Regular.ttf:mode=harf;script=dev2;}
-         \font\banglafont={name:Noto Sans Bengali:mode=harf;script=ben2;}
+         \font\banglafont={file:NotoSansBengali-Regular.ttf:mode=harf;script=ben2;}
          \font\tibetanfont={name:Noto Serif Tibetan:mode=harf;script=tibt;}
          \endlisting
 
@@ -873,13 +873,13 @@ obviously, \inlinecode{random}.
 
           Such a colorscheme can then be used like this:
           \beginlisting
-          \font\test={name:Noto Sans Bengali:mode=harf;script=bng2;color=myscheme}
+          \font\test={file:NotoSansBengali-Regular.ttf:mode=harf;script=bng2;color=myscheme}
           \endlisting
 
           and then would give this output:
 
 
-          {\font\test={name:Noto Sans Bengali:mode=harf;script=bng2;color=myscheme}\test
+          {\font\test={file:NotoSansBengali-Regular.ttf:mode=harf;script=bng2;color=myscheme}\test
            কণ্যা এখন কি করিবে
            \char"0995 \char"09BF
            \char"09A8 \char"09CD \char"09A6
@@ -1085,7 +1085,7 @@ obviously, \inlinecode{random}.
         {
           cyrl = "DejaVuSans:mode=node;script=cyrl;color=FF0000;",
           grek = "texgyreheros:mode=harf;script=grek;color=0000FF;",
-          beng = "NotoSansBengali:mode=harf;script=bng2;color=00FF00;"
+          beng = "file:NotoSansBengali-Regular.ttf:mode=harf;script=bng2;color=00FF00;"
         }
        )
       }





More information about the latex3-commits mailing list