\replacemissingcharacters will insert boxes where missing characters are expected. You need to add the command \checkcharactersinfont or You can rebuild the database manually, using the already-mentioned commandĪlternatively, you can turn off the automatic rebuild of the database, by setting either of This normally only happens for fonts that are still in development like TeX Gyre - Old Content and Latin Modern. You only have to do the reload manually when you have installed updates to already installed fonts that cause the font and/or file names to change. In current versions of Mark IV (earlier than July 2008) this is automatically done whenever a named font cannot be found. MTXrun | filename: /usr/local/share/fonts/d/delicious_roman.otfĪfter installing new fonts, the font database must be rebuilt for LuaTeX to access them. Mtxrun -script fonts -list -info -pattern=Delicious*Roman You can get useful informations about your fonts by using the -info option. Mtxrun -script fonts -list -all -pattern=Delicious*ĭeliciousbold Delicious-Bold /usr/local/share/fonts/d/delicious_bold.otfĭeliciousbolditalic Delicious-BoldItalic /usr/local/share/fonts/d/delicious_bolditalic.otfĭeliciousheavy Delicious-Heavy /usr/local/share/fonts/d/delicious_heavy.otfĭeliciousitalic Delicious-Italic /usr/local/share/fonts/d/delicious_italic.otfĭeliciousroman Delicious-Roman /usr/local/share/fonts/d/delicious_roman.otfĭelicioussmallcaps Delicious-SmallCaps /usr/local/share/fonts/d/delicious_smallcaps.otf You can query the database against a particular pattern. Warnockproboldsubh WarnockPro-BoldSubh E:/Fonts/Warnock Pro/WarnockPro-BoldSubh.otf Warnockprobolditsubh WarnockPro-BoldItSubh E:/Fonts/Warnock Pro/WarnockPro-BoldItSubh.otf Warnockprobolditdisp WarnockPro-BoldItDisp E:/Fonts/Warnock Pro/WarnockPro-BoldItDisp.otf Warnockprobolditcapt WarnockPro-BoldItCapt E:/Fonts/Warnock Pro/WarnockPro-BoldItCapt.otf Warnockproboldit WarnockPro-BoldIt E:/Fonts/Warnock Pro/WarnockPro-BoldIt.otf Warnockprobolddisp WarnockPro-BoldDisp E:/Fonts/Warnock Pro/WarnockPro-BoldDisp.otf Warnockproboldcapt WarnockPro-BoldCapt E:/Fonts/Warnock Pro/WarnockPro-BoldCapt.otf Warnockprobold WarnockPro-Bold E:/Fonts/Warnock Pro/WarnockPro-Bold.otf Will return the whole entries of the font database as a list, such as Mtxrun -script fonts -list -all -pattern=* If mtxrun has problem finding the a file, it may be necessary to regenerate ConTeXt's file database: MTXrun | fontnames: 3837 files read, 3342 normal and 49 extra entries added, 5 rejected, 3386 valid MTXrun | fontnames: 94 system files identified, 94 hash entries added, runtime 0.554 seconds MTXrun | fontnames: 17 tree files identified, 14 hash entries added, runtime 4.645 seconds MTXrun | fontnames: identifying tree font files with suffix TTF MTXrun | fontnames: identifying tree font files with suffix ttf MTXrun | fontnames: 331 tree files identified, 332 hash entries added, runtime 7.653 seconds MTXrun | fontnames: identifying tree font files with suffix OTF MTXrun | fontnames: identifying tree font files with suffix otf You can also generate it manually by typing The font database will then be automatically generated in the next run of context. Indicate that the fonts should be found in both /usr/local/share/fonts and $HOME/.fonts. For Unix machines,Įxport OSFONTDIR="/usr/local/share/fonts $HOME/.fonts" If the fonts should be found in c:/windows/fonts/. On Windows, this might be achieved by running You need to specify where the fonts should be looked for, by setting the OSFONTDIR environment variable. Mac OS users should note that the current version of LuaTeX (0.60) has severe problems dealing with the new TrueType collection fonts in Snow Leopard (Mac OS 10.6). Future runs using the same font (not just this file, but all files using that particular font) can then use the cached version of the metrics instead. Fortunately, the result of that internal preprocessing are also saved inside the texmf cache. This removes the need for tfm and vf files on your disk, but it is also a somewhat lengthy and often memory-hungry process. When ConTeXt processes a file that uses such non-traditional fonts, the actual fonts themselves are loaded in LuaTeX's embedded section of fontforge to extract their metric information. OpenType, TrueType or Type1 format) directly. LuaTeX can use fonts in non-TeX format (e.g.
0 Comments
Leave a Reply. |