diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2011-09-29 22:57:16 -0700 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2011-09-29 22:57:16 -0700 |
commit | fe64e0c29d0c53cf1c496f983c676d1e518fb34d (patch) | |
tree | 57690252a7aff0f56e38c75b8e3b20ab002f1bfd | |
parent | 711c6fc949dfbc4b40d76168ae82d5d49c25a7b8 (diff) | |
parent | a527fb342e80adc63d6a192bd0a492b93aa25693 (diff) | |
download | luaotfload-fe64e0c29d0c53cf1c496f983c676d1e518fb34d.tar.gz |
Merge pull request #40 from pgundlach/whitelist
Black-/whitelist documentation update
-rw-r--r-- | luaotfload.dtx | 13 | ||||
-rw-r--r-- | otfl-blacklist.cnf | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx index 5bb9b6a..7e4d8ed 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -379,7 +379,18 @@ and the derived files % Simply, create a file named |otfl-blacklist.cnf| and added the to be % blacklisted files, one per line. Then put the file some where \textsf{kpse} % can find. You can either use the base name or the full path. Any thing after -% a |%| sign is ignored. +% a |%| sign is ignored. \textsf{luaotfload} reads all files named named +% |otfl-blacklist.cnf|, so you can add your own fonts to the global blacklist +% by creating a local file |otfl-blacklist.cnf| with the entries you need. +% You can also remove a font from this blacklist by prepending the name with +% a dash (|-|). +% +% \begin{verbatim} +% % example otf-blacklist.cnf +% /Library/Fonts/GillSans.ttc % luaotfload ignores this font +% -/Library/Fonts/Optima.ttc % it is usable again, even if it +% % is blacklisted somewhere else +% \end{verbatim} % % \section{Required \context files} % diff --git a/otfl-blacklist.cnf b/otfl-blacklist.cnf index f77de5b..6f9171b 100644 --- a/otfl-blacklist.cnf +++ b/otfl-blacklist.cnf @@ -1,4 +1,4 @@ -% Tackes ages to load +% Takes ages to load LastResort.ttf % a MacOSX font, but also available for free from unicode.org % Mac OS X TTC fonts, this list need to be filtered out |