summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' of github.com:mpg/luaotfloadElie Roux2010-01-191-1/+1
|\
| * Missing log levelKhaled Hosny2010-01-191-1/+1
| |
* | Exploring the fontconfig directoriesElie Roux2010-01-191-19/+51
| | | | | | | | | | | | Looking for the directories in fc-cat that actually contain fonts and adding it to the directories to explore. Now system fonts are available even on systems where OSFONTDIR is not set in texmf.cnf.
* | Not relying on require()Elie Roux2010-01-191-5/+1
|/ | | | require() doesn't work with LuaTeX 0.50 from Debian.
* Differenciation between texmf and non-texmf dirsElie Roux2010-01-191-4/+15
| | | | The paths are now absolute for files that are not in the texmf tree.
* Adding strong euristics to guess the styleElie Roux2010-01-191-1/+68
|
* Several improvements:Elie Roux2010-01-191-18/+37
| | | | | | | | | | | | | - making the script work under Windows (cygwin at least) - creating several levels of verbosity - logging explored directories by default - fixing a bug with the . directory (at least under windows) - not exploring same directory twice (the same directory can be in OPENTYPEFONTS and TTFONTS) - using dofile on old luatex versions instead of require (which raises an error) - adding checks before mkdir and file writing (should be tested under Unix though, not really testable under Windows...)
* Adding luaotfload-fonts.lua in the READMeElie Roux2010-01-191-1/+3
|
* Capture GR font option as wellKhaled Hosny2010-01-191-1/+2
| | | | | This selects XeTeX's graphite renderer. Also issue a log message for unsupported options.
* Allow arbitrary font stylesKhaled Hosny2010-01-192-6/+10
| | | | | | | If the font option isn't a known option, we assume it is a font style and pass it as is, this allows for definitions like: \font\dejavuextralight={DejaVu Sans/Extralight:+liga} at 10pt
* Capture AAT and ICU font options and do nothingKhaled Hosny2010-01-191-0/+1
|
* Capture requested optical size and bass a longKhaled Hosny2010-01-191-0/+6
| | | | Not used yet, though.
* TypoKhaled Hosny2010-01-191-1/+1
|
* More optimizationsElie Roux2010-01-191-29/+29
| | | | | | Now the boxes are "transparent" to the algorithm. This saves 5% space on a uncompressed PDF, about 0.5% in a compressed one, but may be a lot more for documents with a lot of boxes.
* Some more optimizations and an error messageElie Roux2010-01-181-33/+34
| | | | | | | | Smaller pdf output. Some more optimizations could happen by a second exploration, may come later. The file doesn't work with LuaTeX 0.40 but seems ok for 0.44. Colors are now disabled for versions <41.
* Prefer names.prefmodifiers over names.subfamilyKhaled Hosny2010-01-161-1/+1
| | | | | This fixes style checking for many correctly named fonts, but breaks crappy fonts like LM and MnSymbol, both aren't a priority for me.
* CleanupKhaled Hosny2010-01-161-22/+11
|
* Drop otfl-luat-dum.lua dependencyKhaled Hosny2010-01-161-8/+7
|
* Remove some no longer needed codeKhaled Hosny2010-01-161-26/+3
| | | | | Now LuaTeX can return proper TTF names, we no longer need these dirty hacks.
* Updating the README with otfl-font-msc.luaElie Roux2010-01-161-1/+14
|
* Some math improvement and luaextra complianceElie Roux2010-01-161-10/+11
| | | | | | | | Not relying on str:is_empty which is not in luaextra (yet?). In pre_output_buffer, we shouldn't encounter sub_math but if we encounter a sub_box we should explore it like we do for vlist and hlist.
* Improved page resources handlingKhaled Hosny2010-01-161-3/+9
|
* More compact (smaller PDF size) page resourcesKhaled Hosny2010-01-161-1/+3
| | | | There still room for improvement.
* lots of optimizations: we now use pre_output_filter instead of 3 callbacks, ↵Elie Roux2010-01-151-16/+53
| | | | the callbacks are not registered if no font with colors is loaded, less verbose pdf output
* the log lines now go in the log filesElie Roux2010-01-151-5/+5
|
* Updating to latest ConTeXt beta 2010.01.14Khaled Hosny2010-01-152-17/+24
| | | | | Fixes bug with some fonts ("attempt to get length of local 'splt' (a nil value)").
* Support auto-detecting font styleKhaled Hosny2010-01-152-5/+19
| | | | | | | | | | | | | | | | | We now support XeTeX's syntax, try: \input luaotfload.sty \font\termesr ={TeX Gyre Termes:+liga} at 10pt \font\termesb ={TeX Gyre Termes/B:+liga} at 10pt \font\termesi ={TeX Gyre Termes/I:+liga} at 10pt \font\termesbi={TeX Gyre Termes/BI:+liga} at 10pt \font\termesib={TeX Gyre Termes/IB:+liga} at 10pt \termesr What a nice day fi fl ffi ffl ff\par \termesb What a nice day fi fl ffi ffl ff\par \termesi What a nice day fi fl ffi ffl ff\par \termesbi What a nice day fi fl ffi ffl ff\par \termesib What a nice day fi fl ffi ffl ff\par \bye
* Fix loading subfontsKhaled Hosny2010-01-151-2/+2
|
* Try psname if familyname failsKhaled Hosny2010-01-151-10/+22
|
* Support reading the new databaseKhaled Hosny2010-01-151-3/+5
| | | | | Only regular style is resolved for now, still need to pass the proper style to the filename resolver function.
* Make non-subfonts entries dictionaries as wellKhaled Hosny2010-01-151-2/+2
| | | | | Even if it is a single value (filename), to make our life easier in matching process.
* Update database version numberKhaled Hosny2010-01-152-2/+2
| | | | | We now use our own version number since we no longer compatible with luatex-fonts' version.
* Sanitize font namesKhaled Hosny2010-01-151-2/+5
| | | | | | | | Remove spaces, hyphens etc. so that we don't have to deal with many irregularities. Now I seem to process all fonts included with TeXlive correctly, and my +2000 files font collection with two errors only.
* Fix more buggy fonts (Linux Libertine Bold et al.)Khaled Hosny2010-01-151-8/+13
| | | | Now this code is getting really ugly!
* Add support for subfonts (ttc and dfont)Khaled Hosny2010-01-151-15/+22
|
* New table structureKhaled Hosny2010-01-151-18/+25
| | | | | | | | | | | | | | | | | | | | Now database looks like: mappings = { families = { ["familyname"] = { ["regular] = filename-regular.ttf ["bold"] = filename-bold.ttf ... } ... } psnames = { ["psnameregular"] = filename-regular.ttf ["psnamebold"] = filename-bold.ttf ... } }
* 'scan_os_fonts' is uselessKhaled Hosny2010-01-141-1/+2
| | | | | | If $OSFONTDIR is set, then it'll be appended to $OPENTYPEFONTS and $TTFONTS anyway, so we are just rescanning fonts. To be replaced by fontconfig based implementation.
* Our own font names extraction implementationKhaled Hosny2010-01-141-2/+50
| | | | | | Instead of using (the faster) fontloader.info, we now fully open the font to get more usable data, my be it is worth extending fontloader.info to cover our needs?
* Save the database under '$TEXMFVAR/tex/'Khaled Hosny2010-01-141-3/+6
|
* More explicit names for callback registrations.Elie Roux2010-01-131-3/+3
| | | | | Khaled, why not having luaotfload.colorize instead of local colorize functions?
* Guard against empty variablesKhaled Hosny2010-01-121-10/+15
| | | | | $OSFONTDIR in not always set, so check it and the others too. Also index only the base filename for files in texmf tree.
* RewriteKhaled Hosny2010-01-122-79/+123
| | | | | | Now we read $OSFONTDIR variable to load system fonts, $OPENTYPEFONTS and $TTFONTS to load fonts in texmf tree. Fontconfig support might be added later.
* Some loggingKhaled Hosny2010-01-111-4/+15
|
* Defines |logs.report()| and |logs.simple()|Khaled Hosny2010-01-111-0/+20
|
* Revert "Enable logging"Khaled Hosny2010-01-111-27/+0
| | | | | | Will moves |logs.report| to |otfl-luat-dumm.lua|. This reverts commit 4479c85beec3b201db096d9320d203a58fd210d4.
* Use our own font names databaseKhaled Hosny2010-01-101-1/+1
|
* First attempt of font database generation scriptKhaled Hosny2010-01-101-0/+68
| | | | Very crude, linux only.
* Reset version to 1.07Khaled Hosny2010-01-091-4/+4
| | | | | | I'm abusing versioning, version number should be increased only after making a release (since CTAN version is 1.06, git should be 1.07), we should tag releases too.
* Update version and dateKhaled Hosny2010-01-081-4/+4
|
* Move 'font-msc' module to its own fileKhaled Hosny2010-01-082-179/+159
| | | | For easier maintenance.