diff options
| author | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-01 18:53:36 +0200 | 
|---|---|---|
| committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-10-01 18:55:16 +0200 | 
| commit | 852cd5b8e7c01fd58763cd499f5666a65724bd26 (patch) | |
| tree | e0f82c7971aa0bfe96bbf44c5885aa5f6c3c7e24 | |
| parent | ba68760ae19267de980f4c1856c280f6db8a379b (diff) | |
| download | luaotfload-852cd5b8e7c01fd58763cd499f5666a65724bd26.tar.gz | |
Fix documentation about default prefix
fixes #38
| -rw-r--r-- | luaotfload.dtx | 2 | ||||
| -rw-r--r-- | otfl-font-nms.lua | 2 | 
2 files changed, 3 insertions, 1 deletions
| diff --git a/luaotfload.dtx b/luaotfload.dtx index 648a0b3..ced94f0 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -219,7 +219,7 @@ and the derived files  %  % The \meta{prefix} be either |file:| or |name:|, which specify  % whether to use a select the font from its filename or font name, -% respectively. If no prefix is specified, then |file:| is assumed. +% respectively. If no prefix is specified |name:| is assumed.  %  % For compatibility with \xetex, surrounding the \meta{font name}  % with square brackets is synonymous to using the |file:| prefix. diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua index 6e8b8be..538c6b0 100644 --- a/otfl-font-nms.lua +++ b/otfl-font-nms.lua @@ -224,6 +224,8 @@ function names.resolve(specification)                  return names.resolve(specification)              else                  -- else, fallback to filename +                -- XXX: specification.name is empty with absolute paths, looks +                -- like a bug in the specification parser                  return specification.name, false              end          end | 
