summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-19temporary fix to avoid LastResort.ttfWill Robertson
Sorry no time to implement a general solution
2010-05-19a little documentation for mkluatexfontdb --helpWill Robertson
2010-05-19generalise which extensions to check (& filter out .ttc on Mac)Will Robertson
2010-05-19these are typos from a few commits ago, right?Will Robertson
logs.info certainly doesn't work on my setup...
2010-05-19simplify logging slightlyWill Robertson
2010-05-19don't duplicate code when looping through extsWill Robertson
2010-05-19fix static_osx_dirsWill Robertson
2010-05-19don't fail if the extension is missingWill Robertson
(this isn't impossible, but probably only if we're using fc-list in Mac OS X...)
2010-05-19oopsElie Roux
2010-05-18This commit should fix everything about the ofm and tfm priorityElie Roux
2010-05-18Fixing the log level when the database is updated inside a documentElie Roux
To do so I added a logs.info function to print something on the terminal and in the logs.
2010-05-18A bit of documentationElie Roux
2010-05-18If the specification is just a filename, not looking for it in the databaseElie Roux
Now if specification.name ends by a font file extention, we look for the font file first with kpse and then in the database.
2010-05-18Removing the .tfm and .ofm additional extentionElie Roux
Without this my .ofm fonts don't work... Does this commit do something else wrong?
2010-05-17Printing the name of the loaded database file in the logElie Roux
2010-05-17Fix loading TFM fonts with OSFONTDIR setKhaled Hosny
If OSFONTDIR is set non-TFM files will be found first if TFM file is asked for, I'm not into the mode of digging the source of this in ConTeXt code, so just force TFM lookup by appending .tfm (or .ofm).
2010-05-17Fix bug in the previous commitKhaled Hosny
2010-05-17Only index the last found instance of a fontKhaled Hosny
We were keeping previously found versions of the font in the database and only overriding the status[filename].index which is useless since names.resolve will then found the first instance.
2010-05-17Measures to avoid re-scanning filesKhaled Hosny
We now index TEXMF fonts by their base names not absolute paths, and we check if the font already indexed. This simplifies other parts of the code.
2010-05-16Update the database if a font is not foundKhaled Hosny
We now try to update the database if a font is not found.
2010-05-16Revert "Fixing a bug if OSFONTDIR is not empty"Khaled Hosny
This reverts commit f5fcb4e933f142a7b803b42f7870b5de0ce1117c.
2010-05-16CosmeticKhaled Hosny
2010-05-16SimplifyKhaled Hosny
If it isn't a font collection file (which is true if we reach here) then the index always == 1. As a side effect, fixes a mysterious bug with --no-shell-escape causing all files to have empty index and the same timestamp.
2010-05-16SimplifyKhaled Hosny
2010-05-16Tolerate not being able to run |fc-list|Khaled Hosny
This will avoid the error message, but also no system fonts will be scanned.
2010-05-16Auto generate font names databaseKhaled Hosny
If no font names database is found, generate a new one. Broken unless luatex is run with "--shell-escape".
2010-05-16Simplify the codeKhaled Hosny
The |status| table need not to reside in a separate file, it is now part of the font names database itself.
2010-05-16Simplify the codeKhaled Hosny
Always scan directories recursively, it doesn't harm.
2010-05-15It's certainly better to scan the macos font dirs recursivelyElie Roux
2010-05-15Fixing a bug if OSFONTDIR is not emptyElie Roux
if OSFONTDIR was not empty, the texmf variable ended true and the filenames in the database were not complete.
2010-05-15Attempt to fix the behaviour on macosxElie Roux
Now if we are under macosx and if osfontdir is empty, we don't rely on fc-list to give us the system fonts, but we use some static directories.
2010-05-15Removing the useless mkluatexfontdb tableElie Roux
2010-05-15Adding an error when fontloader is unable to open a fontElie Roux
2010-05-15change script locationManuel Pégourié-Gonnard
2010-05-14CosmeticsKhaled Hosny
Avoid very long lines.
2010-05-13Pump version numberKhaled Hosny
2010-05-12Documentation updatesv1.07Khaled Hosny
2010-05-11Showing a log message only once (it used to be present 10s of times in the log)Elie Roux
2010-05-11Make sure the font exists on the diskKhaled Hosny
Sometimes the database is outdated in the font no longer exits in the saved path, now we make sure the file exists before returning path to luatex. This way the user gets the good old "font not loadable" error, instead of mysterious backend error and program exit. Later we may try to update the database at this point.
2010-05-11Avoid too long linesKhaled Hosny
2010-05-11Skip names database for TFM fontsKhaled Hosny
if a tfm (or ofm) files exists with the same name, skip font names database. closes #3
2010-05-10Fix call to callback.add.Manuel Pégourié-Gonnard
2010-05-11luaextra -> lualibsKhaled Hosny
2010-05-10MinorKhaled Hosny
2010-05-10Not using luadirect anymoreElie Roux
2010-05-10Adapting to the new luatexbase packageElie Roux
* using the new luatexbase callback functions * fixing a tiny bug
2010-05-10CosmeticsKhaled Hosny
2010-05-10Adaptation to luatexbase (just small changes) and removing functions that ↵Elie Roux
are now in luaextra.
2010-05-09All caps file nameKhaled Hosny
For, foolish, consistency.
2010-05-09Update the minimum luatex versionKhaled Hosny
We are now stabilizing against 0.60.x, also make the message less dramatic.