Re: problem with xetex access to system fonts
On Tue, Mar 20, 2012 at 02:51:02PM +, Camaleón wrote: If the fonts are placed anywhere outside those directories/files, you have to make manual adjustments so the system can find and use them, neither aptitude nor apt nor other package manager tool can do that for you ;-) No but the package scripts can/should do that, which are of course executed by the package manager apt-cache show lmodern Package: lmodern Version: 2.004.1-3.1 Installed-Size: 42623 Maintainer: Debian TeX maintainers debian-tex-ma...@lists.debian.org (...) The fonts are setup for use with the TeX typesetting system. They are also registered with defoma, which makes them available to other applications such as Ghostscript and Fontconfig. Finally, they are made available to the core X11 fonts system, which makes it possible to use them in any X application. (...) -- Religion is excellent stuff for keeping common people quiet. -- Napoleon Bonaparte -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120321055440.GA28749@tal
Re: problem with xetex access to system fonts
On Mon, Mar 19, 2012 at 04:23:50PM +0800, 张启德(Zhang Qide) wrote: Hi all, I have installed texlive texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-base, texlive-base, texlive-latex-extra texlive-xetex , lmodern packages on squeeze using aptitude. I test its access to system fonts as follows: $: xetex opentype-info.tex Is that the Debian way? I get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…” see blow: You'd be better off asking this question on the debian-tex-ma...@lists.debian.org list. -- Religion is excellent stuff for keeping common people quiet. -- Napoleon Bonaparte -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120321055911.GB28749@tal
Re: problem with xetex access to system fonts
2012/3/21 Chris Bannister cbannis...@slingshot.co.nz: On Mon, Mar 19, 2012 at 04:23:50PM +0800, 张启德(Zhang Qide) wrote: Hi all, I have installed texlive texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-base, texlive-base, texlive-latex-extra texlive-xetex , lmodern packages on squeeze using aptitude. I test its access to system fonts as follows: $: xetex opentype-info.tex Is that the Debian way? Sorry, I don't know whether it's the Debian way. I read some TUG's documents about testing the texlive installtion on http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-390003.5, After installing TEX Live as best you can, you naturally want to test it out, so you can start creating beautiful documents and/or fonts. (...) If you have installed the xetex package, you can test its access to system fonts as follows: xetex opentype-info.tex This is XeTeX, Version 3.1415926… ... Output written on opentype-info.pdf (1 page). Transcript written on opentype-info.log. If you get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…”, then you need to configure your system so that XeTEX can find the fonts shipped with TEX Live. See Section 3.4.4. (...) and I try it myself. All test passed except xetex. I am confused with that though I can use xelatex access some system fonts (eg: AR PL UMing CN, Liberation serif). May be its a bug because when I add some lines to ~/.fonts.conf, the test for xetex will pass. Sorry, my English is not so good! I get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…” see blow: You'd be better off asking this question on the debian-tex-ma...@lists.debian.org list. OK, I will try it. Thanks! Regards, Zhang Qide -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CABfFVkLBSwODCtYJL9k=tpb_ld+yqdauust8p0do5stzwmn...@mail.gmail.com
Re: problem with xetex access to system fonts
On Wed, 21 Mar 2012 18:54:40 +1300, Chris Bannister wrote: On Tue, Mar 20, 2012 at 02:51:02PM +, Camaleón wrote: If the fonts are placed anywhere outside those directories/files, you have to make manual adjustments so the system can find and use them, neither aptitude nor apt nor other package manager tool can do that for you ;-) No but the package scripts can/should do that, which are of course executed by the package manager apt-cache show lmodern Package: lmodern Version: 2.004.1-3.1 Installed-Size: 42623 Maintainer: Debian TeX maintainers debian-tex-ma...@lists.debian.org (...) The fonts are setup for use with the TeX typesetting system. They are also registered with defoma, which makes them available to other applications such as Ghostscript and Fontconfig. Finally, they are made available to the core X11 fonts system, which makes it possible to use them in any X application. I didn't know there was a package for the fonts. Of course, if there is a package which is crafted specifically for latex then yes, it should configure automatically the font path accordingly. Otherwise is something worth to report. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jkcroc$lch$5...@dough.gmane.org
Re: problem with xetex access to system fonts
On Tue, 20 Mar 2012 13:28:58 +0800, 张启德(Zhang Qide) wrote: 2012/3/19 Camaleón noela...@gmail.com: Where is that font installed? Run fc-list and check if it is available/visible for the system. Ugh... no need to attach the full list for the font's path, the size of this e-mail is 85 KiB which can be too much for some users with slow connections ;-) Anyway, this may also help: [tlbuild] How should xetex find texlive fonts? http://tug.org/pipermail/tlbuild/2009q2/000872.html Thank you for your reply! I add some lines to ~/.fonts.conf, see below: ?xml version='1.0'? !DOCTYPE fontconfig SYSTEM 'fonts.dtd' fontconfig dir/usr/share/texmf/fonts/opentype/dir dir/usr/share/texmf/fonts/type1/dir /fontconfig and try again, it works well. Glad it worked. Though I don't know what is the right way and why aptitude not do this job for me. Thanks again! (...) Well, I think the problem was basically that you needed to instruct your system where to find additional fonts because by default, fonts are usually installed (and thus, seeked) under: /usr/share/fonts /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ~/.fonts If the fonts are placed anywhere outside those directories/files, you have to make manual adjustments so the system can find and use them, neither aptitude nor apt nor other package manager tool can do that for you ;-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jka5gm$v8o$4...@dough.gmane.org
problem with xetex access to system fonts
Hi all, I have installed texlive texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-base, texlive-base, texlive-latex-extra texlive-xetex , lmodern packages on squeeze using aptitude. I test its access to system fonts as follows: $: xetex opentype-info.tex I get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…” see blow: This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian) entering extended mode (./opentype-info.texkpathsea: Invalid fontname `Latin Modern Roman/ICU', contains ' ' ! Font \testfont=Latin Modern Roman/ICU at 12.0pt not loadable: Metric (TFM) file or installed font not found. l.26 \font\testfont=\myfontname/ICU at 12pt ? According to http://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-350003.4.4 , it seems that I need copy TEXMFSYSVAR/fonts/conf/texlive-fontconfig.conf file to /etc/fonts/conf.d/09-texlive.conf. But I can't find texlive-fontconfig.conf in /var/lib/texmf/fonts. Any suggestion? Sorry for my English! Greetings! Zhang Qide -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CABfFVkJAukn5bMnwHqcg5oxiR5UL0yjK_4k4YtwAQQS4=xy...@mail.gmail.com
Re: problem with xetex access to system fonts
On Mon, 19 Mar 2012 16:23:50 +0800, 张启德(Zhang Qide) wrote: I have installed texlive texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-base, texlive-base, texlive-latex-extra texlive-xetex , lmodern packages on squeeze using aptitude. I test its access to system fonts as follows: $: xetex opentype-info.tex I get an error message saying “Invalid fontname ‘Latin Modern Roman/ICU’…” see blow: (...) Where is that font installed? Run fc-list and check if it is available/visible for the system. Anyway, this may also help: [tlbuild] How should xetex find texlive fonts? http://tug.org/pipermail/tlbuild/2009q2/000872.html Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jk7fll$6c2$1...@dough.gmane.org