| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
I think it's quite OK as it is now... all comments are welcome!
|
|
|
|
|
|
|
|
|
| |
Now we scan the fonts only if we can write in the final file. There is
currently (if I understand correctly) no clean way to check if a folder
is writable or not in Lua: lfs.attributes will give you the string
returned by ls -l, but there is no simple way to know if we can actually
write, as we don't know if we are the owner, or if we have access to the
group...
|
|
|
|
| |
Useful for the --sys option
|
|
|
|
|
|
|
| |
If the texmf fonts are in fc-cache (which is the case in Debian's
TeX Live 2009, there were two entries in the database, one with
the filename and the other with the complete path, they were also
scanned twice.
|
| |
|
|
|
|
| |
Now encoding related code gone.
|
|
|
|
|
| |
Now many of our fixes are incorporated upstream or fixed in a different
way.
|
| |
|
| |
|
| |
|
|
|
|
| |
Make sure |kind| is defined before calling |string.lower()| on it.
|
| |
|
|
|
|
|
| |
To minimize differences between original ConTeXt files, this module
overrides functions defined in |luat-dum| module.
|
|
|
|
| |
+ Remove some, now unneeded, code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Due to a bug in current luatex, some fonts would lack certain required
entries in names table, now we'll just ignore such fonts. The real bug
is fixed in luatex trunk anyway.
|
| |
|
| |
|
|
|
|
| |
Now we have some estimate of when the script will finish.
|
|
|
|
|
| |
`fc-list` returns a list of installed fonts, which simplify the parsing,
and of course I broke non-unix systems!
|
| |
|
|
|
|
| |
Just few simple tests, we need a better test suite.
|
|
|
|
| |
It deals with colors only now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Don't pretend that we support luatex < 50.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Unify similar scripts and check default values with ICU.
|
|
|
|
| |
Don't explicitly list Latin and Latin-like scripts.
|
|
|
|
|
|
| |
Now default features are implicitly selected based on script, code
moved from fontspec (slightly simplified), default feature sets are
based on Pango.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Prefer different values of font names as suggested by TrueType specs.
See http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6name.html
|
|
|
|
|
| |
Store the 'raw' values, the matching logic should be moved to the
resolver function.
|
|
|
|
|
| |
oblique is now considered different as italic, and fixing database shape
for fonts with different fontfamilies.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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?
|
| |
|
|
|
|
|
| |
Used in two places in the source, male is alias to luatextra's latex
catcodetable.
|