From 00ac320063ff016aea9f997948aa104d31bc95ff Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 2 Apr 2010 17:14:01 +0200 Subject: Support 'opbd' (OpenType protrusion) feature Code scrapped from ConTeXt, AFAIK, no font implements OpenType optical bounds (on of Linux Libertine font has traces of it), but I plan to use it in my fonts. The committed feature file is prepared for Pagella, we can later have font specific feature files like this. --- tests/opbd.tex | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/opbd.tex (limited to 'tests/opbd.tex') diff --git a/tests/opbd.tex b/tests/opbd.tex new file mode 100644 index 0000000..4c45781 --- /dev/null +++ b/tests/opbd.tex @@ -0,0 +1,9 @@ +\input luaotfload.sty + +\pdfprotrudechars2 \pdfadjustspacing2 + +\font\testa=file:texgyrepagella-regular:script=latn at 12pt +\font\testb=file:texgyrepagella-regular:mode=node;script=latn;protrusion=yes;featurefile=opbd.fea;+opbd at 12pt +\testa \input tufte \par +\testb \input tufte \par +\bye -- cgit v1.2.3