summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Negative features should be removed from the tableKhaled Hosny2010-01-071-1/+2
| | | | | | | | Looks like the internal of the code changed in the mean time that the mere existence of a feature in the features tables will enable it, so now we nullify it instead. closes #4
* Set internal fontname to font specificationKhaled Hosny2010-01-071-2/+4
| | | | | | | | | | | | | | | | LaTeX expects that fontname is the tfm name, and thus use it to recall the font, so we ought to store something that can be used the same way here. `specification.specification' is the string used to define the font. Test: \input luaotfload.sty \font\xxx=file:lmroman10-regular.otf:+liga;+tlig\xxx ``\fontname\font'' should be: {\tt file:lmroman10-regular.otf:+liga;+tlig} \bye closes #3
* A few more legacy TeX ligaturesKhaled Hosny2010-01-061-0/+4
| | | | Now, we are on par with XeTeX's tex-text mapping.
* Activate disabled tlig and trep entriesKhaled Hosny2010-01-051-7/+7
| | | | Now `x', ``x'', ``x,, and x's work as CM fonts.
* Only set page resources if existedKhaled Hosny2009-12-311-1/+3
|
* Fix LuaTeX crash with transparencyKhaled Hosny2009-12-311-10/+26
| | | | | | | Apparently, LuaTeX weren't happy by massive assignments to tex.pdfpageresources (we were reassigning it for almost every node!). Now the code seems to work, but it is just a big hack at best.
* Make transparency work with adobe readerKhaled Hosny2009-12-311-2/+2
| | | | | | Switch to pdfliteral default (indirect) mode which will make sure text blocks are surrounded by BT ET (see PDFTeX manual, 7.12), which, for some obscure reason, adobe reader needs for transparency to work.
* CosmeticKhaled Hosny2009-12-311-11/+13
|
* Updating to latest ConTeXt beta (2009.12.30)Khaled Hosny2009-12-314-103/+303
|
* TypoKhaled Hosny2009-12-311-1/+1
|
* Add transparency supportKhaled Hosny2009-12-311-15/+34
| | | | | Very ugly code, hacky like hell and crashes LuaTeX if transparency is set for a large portion of text.
* Initial XeTeX-like font color supportKhaled Hosny2009-12-301-0/+70
| | | | | | | | | | | | | The idea is very simple, we set a special |color| field in the font table, then we surround each glyph in that font with color |whatsit| node (actually pdfliteral whatsit nodes). The resulting PDF file is larger than XeTeX output (because insert color nodes around continues glyph nodes only, even if it was interrupted by just a |glue| or |kern| node). This can be better optimized, but I gave up. Also we don't handle transparency, yet.
* Move some code to a new module; otfl-font-msc.luaKhaled Hosny2009-12-301-44/+69
| | | | | The new module will hold our extended features that are not supported by luatex-fonts, currently slant and extend.
* Support floating point and negative valuesKhaled Hosny2009-12-301-1/+2
| | | | Things like "slan=-.14;extend=1.5" should work now.
* Add support for font slanting/extendingKhaled Hosny2009-12-301-5/+51
|
* Updating to latest ConTeXt beta (2009.12.29)Khaled Hosny2009-12-307-214/+280
|
* Updating to latest ConTeXt beta (2009.12.26)Khaled Hosny2009-12-294-61/+93
|
* Small documentation additionKhaled Hosny2009-12-151-5/+8
|
* Don't suggest passing --usekpse to mtxrunKhaled Hosny2009-12-101-2/+2
| | | | | Though this what |luatex-fonts| documentation suggests, using |--usekpse| will disable reading system fonts.
* Only |base| mode is supported for math modeKhaled Hosny2009-12-101-0/+1
|
* CosmeticsKhaled Hosny2009-12-091-17/+19
|
* TypoKhaled Hosny2009-12-091-1/+1
|
* Enable loggingKhaled Hosny2009-12-091-0/+27
| | | | Redefine the dummy |logs.report()| as wrapper for |luatextra.module_info()|
* Soe documentationKhaled Hosny2009-12-091-0/+68
|