summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
Commit message (Collapse)AuthorAgeFilesLines
* Adding a little TODO for file lookupElie Roux2013-04-201-0/+3
|
* Finishing to fix reference loopElie Roux2013-04-191-1/+3
|
* expand docsPhilipp Gesang2013-04-181-1/+8
|
* log database version mismatchPhilipp Gesang2013-04-171-3/+11
|
* avoid calling table.contains()Philipp Gesang2013-04-171-25/+34
|
* comment code pertaining to lualatex-platformPhilipp Gesang2013-04-171-40/+59
|
* add approximate matching option for mkluatexfontdb.lua --findPhilipp Gesang2013-04-171-38/+162
|
* use locals for table.*Philipp Gesang2013-04-171-8/+11
|
* remove attribute allocation hackPhilipp Gesang2013-04-161-6/+28
|
* use more meaningful identifiers in font-nmsPhilipp Gesang2013-04-161-44/+53
|
* organize font-nmsPhilipp Gesang2013-04-161-112/+195
|
* Preventing loop-references in fontconfig filesElie Roux2013-04-161-5/+7
| | | | | | | I just had this case on a recent Ubuntu... Conflicts: otfl-font-nms.lua
* make fonts.names.resolve() a localPhilipp Gesang2013-04-161-5/+17
|
* add fixes courtesy of Élie Roux to the database codePhilipp Gesang2013-04-161-3/+10
|
* unify loggingPhilipp Gesang2013-04-151-56/+37
|
* rewrite filename loggerPhilipp Gesang2013-04-151-66/+29
|
* enable overrides for Context loggersPhilipp Gesang2013-04-111-4/+0
|
* make loglevel “-q” effectivePhilipp Gesang2013-04-101-17/+20
|
* fix function namesPhilipp Gesang2013-04-091-8/+9
|
* Fixing character escaping errorsElie Roux2013-04-071-2/+2
| | | | | | Some syntax errors in Lua for character escaping were silently ignore by old versions of LuaTeX, but the new one raises errors. Maybe a side effect of Lua 5.2?
* Handle missing names properly.Olof-Joachim Frahm2012-10-231-4/+4
| | | | | For some (possibly broken) fonts, e.g. Gentoo's media-fonts/twmoefonts, the names field is nil, thus breaking lookup even for other fonts. Defaulting to nil if the field is missing fixes this problem.
* Find demibold fonts as wellKhaled Hosny2012-03-271-1/+1
|
* Add commentKhaled Hosny2011-11-141-1/+1
|
* Support DemiBold tooKhaled Hosny2011-11-141-1/+1
|
* More cleanupKhaled Hosny2011-10-161-10/+10
|
* Add support for compiled names cacheKhaled Hosny2011-10-161-7/+17
|
* Remove remenants of long gone featureKhaled Hosny2011-10-161-10/+1
|
* No more pairs()/ipairs()Khaled Hosny2011-10-141-3/+3
|
* otfl-fonts-syn.lua just complicates things, remove itKhaled Hosny2011-10-041-0/+5
|
* Patch otfl-font-def.lua, not yet workingKhaled Hosny2011-10-041-3/+3
|
* Should not error() hereKhaled Hosny2011-10-011-1/+5
|
* Try /usr/local/etc/fonts/fonts.conf before /etc/fonts/fonts.confKhaled Hosny2011-10-011-1/+5
| | | | closes #34
* Fix documentation about default prefixKhaled Hosny2011-10-011-0/+2
| | | | fixes #38
* Whitelist fontsPatrick Gundlach2011-09-291-5/+13
| | | | | Add a whitelist for fonts with "-" in front of the font name (to remove it from the blacklist)
* Unify logging systemsPhilipp Stephani2011-07-241-18/+25
| | | | | | | | | Until now, the logging functions in `otfl-luat-ovr.lua` and the function `log` in `otfl-font-nms.lua` used different syntax conventions, which resulted in suboptimal output when the functions in `otfl-font-nms.lua` were called from the LuaLaTeX module (in contrast to `mkluatexfontdb`). Spotted by Karl Berry, see http://tug.org/pipermail/lualatex-dev/2011-July/001274.html
* Support lualatex-platform module if availablePhilipp Stephani2011-04-281-1/+51
| | | | Use font list reported by operating system if possible, default font directory list otherwise
* Hack to support Demi fontsKhaled Hosny2011-04-211-3/+3
|
* A hack to get libertine's bold recognisedKhaled Hosny2011-03-011-1/+2
|
* Fix infinite loopKhaled Hosny2011-02-051-1/+1
| | | | | | | | names.load() calls names.update() without an argument if no font database is found, but the later will call the former if invoked without an argument. Now calling names.update() with an empty names database. fixes #23
* Fix a typo in fonts.names.scan()Khaled Hosny2011-02-041-1/+1
| | | | This was a debugging leftover that went unnoticed.
* Remove --database-dir and --sys optionsKhaled Hosny2010-11-121-8/+16
| | | | | | | | | | | * --database-dir is useless anyway since we don't support loading names database from arbitrary path. * --sys (and mkluatexfontdb-sys) are dangerous since we will load user specific fonts (in ~/.fonts for example) which can not be loaded by other users (can be security concern as well). If there is real need, we should then implement it properly. + some clean up and less code duplication in mkluatexfontdb.
* Reject fonts missing 'names' tableKhaled Hosny2010-09-191-1/+13
| | | | | | | Fonts should always have a names table, I suppose, so if not we should reject the font. Reported by Philipp Stephani.
* Move code aroundKhaled Hosny2010-07-111-14/+0
| | | | | | Move code that does not belong to otfl-font-nms.lua to luaotfload.dtx. Please test.
* Cosmetics and minor cleanupsKhaled Hosny2010-07-111-25/+20
|
* Remove the progress bar and simplify the codeKhaled Hosny2010-07-111-55/+8
| | | | | The database building/updating that the, unusual, progress bar is not needed.
* Re-enable ttc fonts in MacOSXKhaled Hosny2010-06-251-7/+2
| | | | | This way it is easier for people to actually find the broken ones so we can blacklist them explicitly.
* Really fix printing file name before loading itKhaled Hosny2010-06-251-0/+1
| | | | | io.flush() is needed, otherwise nothing gets printed until the loading is finished.
* Handle trailing spaces and inline commentsKhaled Hosny2010-06-251-0/+3
| | | | This turned out to be easier that I first thought.
* Remove and old hack and a potential bugKhaled Hosny2010-06-251-20/+7
| | | | | I didn't know how to check if a table contains a certain value so I had this value=true hack, now I know better so removed it.
* Implement general font blacklisting mechanismKhaled Hosny2010-06-251-25/+33
| | | | | | | | | | | | | Blacklisted fonts are listed one per line in a file named "otfl-blacklist.cnf", there can be as much copies of this file as kpse can find (we look for "tex" format despite of the file extension, so it can exist any where a .tex file can) and all found files will be loaded an read. The parser is rather dump, it assumes a good formated file; one font per line, no trailing spaces, no inline comments, lines starting with "%" and empty lines will be ignored, any other lines will end in the blacklist table without any further processing.