Dear Peter Thank you so much for your help! After used the fc-cache -vv I found that I made a stupid mistake in the font configuration file by having put newlines between the <dir> </dir> tags and the path to my fonts. Now the problem has been solved, thank you!
Regards Jin-Mo Zhao On Mon, Sep 5, 2011 at 12:15 PM, Peter Dyballa <peter_dyba...@web.de> wrote: > > Am 05.09.2011 um 01:11 schrieb Tschijnmo Tschau: > >> kpathsea: Invalid fontname `Gentium Book Basic', contains ' ' > > This, "kpathsea", indicates that fontspec did not find the font name in the > system's font service and therefore delegated the job of finding the font to > TeX. > > It is correct to edit the personal (lib)fontconfig configuration. This is > kind of step 0. The important step is to cache the fonts. You can run > fc-cache with -v or -vv so see whether all the fonts are found and treated > correctly by the system. You can, you *should* use fc-list or fc-match to > check whether the font service finds the font. If it does, then fontspec > should do as well. > > -- > Greetings > > Pete > > Be careful of reading health books, you might die of a misprint. > – Mark Twain > > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex