| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Now this code is getting really ugly!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now database looks like:
mappings = {
families = {
["familyname"] = {
["regular] = filename-regular.ttf
["bold"] = filename-bold.ttf
...
}
...
}
psnames = {
["psnameregular"] = filename-regular.ttf
["psnamebold"] = filename-bold.ttf
...
}
}
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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?
|
| |
|
|
|
|
|
| |
$OSFONTDIR in not always set, so check it and the others too. Also index
only the base filename for files in texmf tree.
|
|
Now we read $OSFONTDIR variable to load system fonts, $OPENTYPEFONTS and
$TTFONTS to load fonts in texmf tree. Fontconfig support might be added
later.
|