diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-01 11:25:46 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-05-01 11:25:46 +0200 |
commit | fcdbafd0c86fdba0830c7408409f767f0b75b110 (patch) | |
tree | a381746c1dee2e249f0d4db21ab1f623c058c303 /luaotfload.dtx | |
parent | 4e14b2da1e3675f3877ada80cd77fa6792127fb9 (diff) | |
download | luaotfload-fcdbafd0c86fdba0830c7408409f767f0b75b110.tar.gz |
perform match on other font names if family but not subfamily matches
preliminary fix for issue #26
here’s an example that works now but either broke (pre-v1.3) or
retrieved the wrong shape with ``/B``:
\ifdefined\directlua\input luaotfload.sty\fi
%% this should be mono bold
\font\libertinemono="Linux Libertine Mono O" at 42pt
foo {\libertinemono bar} baz\endgraf
%% this should be bold, but isn’t
\font\myriadbold="Myriad Pro/B" at 42pt
foo {\myriadbold bar} baz\endgraf
%% this is bold
\font\minionbold="Minion Pro/B" at 42pt
foo {\minionbold bar} baz\endgraf
\bye
also, I refactored parts of the matching function for more clarity
Diffstat (limited to 'luaotfload.dtx')
0 files changed, 0 insertions, 0 deletions