summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Use `fc-list` instead of `fc-cat`Khaled Hosny2010-02-141-126/+28
| | | | | `fc-list` returns a list of installed fonts, which simplify the parsing, and of course I broke non-unix systems!
* Clean *.out files tooKhaled Hosny2010-02-131-1/+1
|
* Some testsKhaled Hosny2010-02-134-0/+71
| | | | Just few simple tests, we need a better test suite.
* Rename |otfl-font-msc.lua| to |otfl-font-clr.lua|Khaled Hosny2010-02-123-9/+11
| | | | It deals with colors only now.
* Updating to latest ConTeXt beta (2010.02.12)Khaled Hosny2010-02-123-45/+133
| | | | | | | | | | | | | | | | | This introduces microtypography support. Test: \input luaotfload.sty \pdfprotrudechars2 \pdfadjustspacing2 \font\testa=file:lmroman12-regular:script=latn at 12pt \font\testb=file:lmroman12-regular:script=latn;protrusion=default at 12pt \testa \input tufte \par \testb \input tufte \par \bye closes #7
* typo in the dateElie Roux2010-02-071-1/+1
|
* Adding a News fileElie Roux2010-02-073-3/+22
|
* Drop compatability fileKhaled Hosny2010-02-062-1630/+1
| | | | Don't pretend that we support luatex < 50.
* Some loggingKhaled Hosny2010-02-062-7/+13
|
* Updating to latest ConTeXt beta (2010.02.03)Khaled Hosny2010-02-055-11/+40
|
* Remove the spurious syrc entryKhaled Hosny2010-02-041-5/+0
|
* Support design size rangesKhaled Hosny2010-02-021-7/+6
|
* A very french typoElie Roux2010-01-311-1/+1
|
* Make the default features table global (puplic)Khaled Hosny2010-01-301-19/+26
|
* Further cleanupKhaled Hosny2010-01-301-14/+13
| | | | Unify similar scripts and check default values with ICU.
* Further default features simplificationKhaled Hosny2010-01-301-34/+12
| | | | Don't explicitly list Latin and Latin-like scripts.
* Support per-script default featuresKhaled Hosny2010-01-301-1/+100
| | | | | | Now default features are implicitly selected based on script, code moved from fontspec (slightly simplified), default feature sets are based on Pango.
* Style synonymsKhaled Hosny2010-01-281-0/+17
| | | | | This is a kind of style normalization; we first check the given style, if no match is found, we then check several, presumably, similar styles.
* Port to the new database layoutKhaled Hosny2010-01-281-24/+20
|
* More compact layoutKhaled Hosny2010-01-282-13/+10
|
* Fix LM style name issueKhaled Hosny2010-01-281-8/+9
| | | | | | | According to OpenType spec, size feature can define a common style name for different optical sizes of the same font, now we use it. See http://www.microsoft.com/typography/otspec/features_pt.htm#size
* Fix font names preferenceKhaled Hosny2010-01-281-14/+11
| | | | | | Prefer different values of font names as suggested by TrueType specs. See http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6name.html
* Make the font database dumbKhaled Hosny2010-01-252-182/+84
| | | | | Store the 'raw' values, the matching logic should be moved to the resolver function.
* More bugfixes in style guessingElie Roux2010-01-211-10/+19
| | | | | oblique is now considered different as italic, and fixing database shape for fonts with different fontfamilies.
* Improving style guessing based on real-life fontsElie Roux2010-01-211-36/+58
| | | | | | | | | | Now all the informations are printed in the guessed_style, for parsing facilities. Light and Heavy are not treated as weight anymore (some fonts are heavy regular or heavy bold in the same family). Treating the condensed style separately. If it could be tested on a large database it would help me improve it. Of course perverse styles like the ones of semaphor are not guessed, but they are not usual styles so it's not a problem.
* Changing the database shapeElie Roux2010-01-211-7/+9
| | | | | | Now keys are font file names, in order to have all fonts listed (it was not the case all the time). The values are raw_style and guessed_style. Wdyt?
* Improvements in the style guessing systemElie Roux2010-01-211-5/+16
|
* Add |tex.ctxcatcodes|Khaled Hosny2010-01-201-0/+2
| | | | | Used in two places in the source, male is alias to luatextra's latex catcodetable.
* Ignore empty optionsKhaled Hosny2010-01-201-1/+1
|
* Mouahaha, I got you Windows!Elie Roux2010-01-201-4/+3
|
* A bit of adaptation to the buggy OSElie Roux2010-01-201-5/+75
| | | | | | | | Windows is a pain, as usual... I'm blocked on a bug where the command line passed to popen is reshaped to contain linebreaks instead of spaces, so the fc-cat of TeXLive cannot be called if TeXLive is under C:/Program Files/ (grrr). I should report it to LuaTeX or TeXLive, more certainly to MS but...
* Allowing font file name to start by c:/...Elie Roux2010-01-201-1/+3
|
* Bug fixingElie Roux2010-01-201-1/+5
| | | | Fixing a bug when mixing colored and non-colored fonts.
* Pass 'specification' directly to |fonts.names.resolve()|Khaled Hosny2010-01-202-3/+4
| | | | | We will need more fields from the specification in the future, simplify function calling.
* 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.