|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| | This fixes style checking for many correctly named fonts, but breaks
crappy fonts like LM and MnSymbol, both aren't a priority for me. | 
| | |  | 
| | |  | 
| | 
| 
| 
| 
| | Now LuaTeX can return proper TTF names, we no longer need these dirty
hacks. | 
| | 
| 
| 
| 
| | Even if it is a single value (filename), to make our life easier in
matching process. | 
| | 
| 
| 
| 
| | We now use our own version number since we no longer compatible with
luatex-fonts' version. | 
| | 
| 
| 
| 
| 
| 
| 
| | 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. | 
| | 
| 
| 
| | 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. |