[opensuse] most fonts not available in libreOffice
Hi, I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2 Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice. I have all fonts installed as System fonts, none in personal fonts. Under 13.2 I could use all fonts in libreOffice, too. Is there a way to get my fonts work in this program? I am missing most basic fonts like Helvetica etc., fonts I once bought from adobe... Thanks for your help. Daniel -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 24.07.2016 12:11, Daniel Bauer wrote:
I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2
Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice.
That's weird. My guess would be that LO has a font cache somewhere. Look for a font that it finds and then run grep -ri fontname .config/libreoffice/ from the command line. If it finds a match, rename the file to "filename.bak" and start LO. That should recreate the cache. The command line tool "xlsfonts" can list all the fonts: xlsfonts | less Type "/fontname" to search for a font name. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 24.07.2016 um 14:22 schrieb Aaron Digulla:
On 24.07.2016 12:11, Daniel Bauer wrote:
I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2
Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice.
That's weird. My guess would be that LO has a font cache somewhere. Look for a font that it finds and then run
grep -ri fontname .config/libreoffice/
from the command line. If it finds a match, rename the file to "filename.bak" and start LO. That should recreate the cache.
The command line tool "xlsfonts" can list all the fonts:
xlsfonts | less
Type "/fontname" to search for a font name.
Regards,
Thank you Aaron, I tried your suggestions but it did not help :-( . But while searching the font files to rename one, I found that the fonts that libreOffice does not see are *.pfb files. Googling showed me that for libreOffice they have to be converted somehow. but it only shows me very old results and I cannot find the tool "type1afm" (t1lib-bin) as stated for example here: https://makandracards.com/makandra/2593-make-type-1-fonts-pfb-pfm-appear-in-... Anyway, things (probably) might have changed, and if you or somebody else knows how I can make the .pfb-fonts to be usable in libreOffice, too, that would be great! Daniel -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 24.07.2016 16:47, Daniel Bauer wrote:
Am 24.07.2016 um 14:22 schrieb Aaron Digulla:
On 24.07.2016 12:11, Daniel Bauer wrote:
I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2
Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice.
That's weird. My guess would be that LO has a font cache somewhere. Look for a font that it finds and then run
grep -ri fontname .config/libreoffice/
from the command line. If it finds a match, rename the file to "filename.bak" and start LO. That should recreate the cache.
The command line tool "xlsfonts" can list all the fonts:
xlsfonts | less
Type "/fontname" to search for a font name.
Regards,
Thank you Aaron,
I tried your suggestions but it did not help :-( . But while searching the font files to rename one, I found that the fonts that libreOffice does not see are *.pfb files.
Ah, yes. Type 1 are PostScript fonts. They are often used for professional typesetting but a lot of OpenSource software can't use them directly (you need a PostScript interpreter). http://stackoverflow.com/questions/9322635/how-can-i-convert-postscript-type... has a couple of solutions for Windows and Mac. The two online resources (first comment and last answer) might work for you. Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 24.07.2016 um 17:19 schrieb Aaron Digulla:
On 24.07.2016 16:47, Daniel Bauer wrote:
Am 24.07.2016 um 14:22 schrieb Aaron Digulla:
On 24.07.2016 12:11, Daniel Bauer wrote:
I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2
Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice.
That's weird. My guess would be that LO has a font cache somewhere. Look for a font that it finds and then run
grep -ri fontname .config/libreoffice/
from the command line. If it finds a match, rename the file to "filename.bak" and start LO. That should recreate the cache.
The command line tool "xlsfonts" can list all the fonts:
xlsfonts | less
Type "/fontname" to search for a font name.
Regards,
Thank you Aaron,
I tried your suggestions but it did not help :-( . But while searching the font files to rename one, I found that the fonts that libreOffice does not see are *.pfb files.
Ah, yes. Type 1 are PostScript fonts. They are often used for professional typesetting but a lot of OpenSource software can't use them directly (you need a PostScript interpreter).
http://stackoverflow.com/questions/9322635/how-can-i-convert-postscript-type... has a couple of solutions for Windows and Mac. The two online resources (first comment and last answer) might work for you.
Regards,
Thanks again Aaron. The online-tool did not work (wants me to upload a ttf-file...), anyway it would be a lot of work to upload some hundreds of fonts file by file :-) But I installed the demo version of TransType for windows http://www.fontlab.com/font-converter/transtype/ in virtual-box/win xp, and could convert all files in one batch within seconds. They now appear and can be used in libreOffice. Thanks for the link and the help! Daniel -- Daniel Bauer photographer Basel Barcelona http://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Sun, 24 Jul 2016, Aaron Digulla wrote:
On 24.07.2016 16:47, Daniel Bauer wrote:
Am 24.07.2016 um 14:22 schrieb Aaron Digulla:
On 24.07.2016 12:11, Daniel Bauer wrote:
I am here on leap 42.1, KDE 5, Libre Office Version: 5.1.3.2
Most of my system-wide installed fonts do not appear in the fonts dialog of libreOffice. I can use all fonts in Gimp, Digikam etc., but not in libreOffice.
That's weird. My guess would be that LO has a font cache somewhere. Look for a font that it finds and then run
grep -ri fontname .config/libreoffice/
from the command line. If it finds a match, rename the file to "filename.bak" and start LO. That should recreate the cache.
The command line tool "xlsfonts" can list all the fonts:
xlsfonts | less
Type "/fontname" to search for a font name.
I tried your suggestions but it did not help :-( . But while searching the font files to rename one, I found that the fonts that libreOffice does not see are *.pfb files.
Ah, yes. Type 1 are PostScript fonts. They are often used for professional typesetting but a lot of OpenSource software can't use them directly (you need a PostScript interpreter).
http://stackoverflow.com/questions/9322635/how-can-i-convert-postscript-type... has a couple of solutions for Windows and Mac. The two online resources (first comment and last answer) might work for you.
Star-/Open-/LibreOffice could always use *.pf[ab] under Linux. It might just need the .afm (Adobe Font Metrics) as well. And even comes with the .afm files for the Adobe standard fonts: $ rpm -qlf /usr/bin/ooffice |grep -E '\.(afm|pf[ab])$' | head -3 /usr/lib64/libreoffice/share/psprint/fontmetric/Courier-Bold.afm /usr/lib64/libreoffice/share/psprint/fontmetric/Courier-BoldOblique.afm /usr/lib64/libreoffice/share/psprint/fontmetric/Courier-Oblique.afm So, how to get those .afm? ==== man t1rawafm ==== NAME t1rawafm - produce raw AFM metrics from a PostScript Type 1 font SYNOPSIS t1rawafm -e ENCODING [OPTIONS...] font [outputfile] ==== $ rpm --qf '%{name}\n' -qf `which t1rawafm ` lcdf-typetools ==== man pf2afm ==== NAME pf2afm - Make an AFM file from Postscript (PFB/PFA/PFM) font files using ghostscript SYNOPSIS pf2afm fontfilename ==== $ rpm --qf '%{name}\n' -qf `which pf2afm ` ghostscript-library There's also t1utils and lcdf-typetools with more useful tools and pfbtops from 'groff'. Just put/generate the .afm alongside the .pf[ab] in /usr/share/fonts/Type1, update the font-databases (mkfontdir, mkfontscale, fc-cache), reload/restart the X-Font-Server, et voila... You have to remember: pfb/pfa are "just" Postscript files defining a font by defining shapes for glyphs in some encoding. etc. For sake of performance, the plain .ps files are "assembled" into either an ascii (pfa) or binary (pfb) format. Just have a look at e.g.: $ less /usr/share/fonts/Type1/cour.pfa vs. $ t1disasm /usr/share/fonts/Type1/cour.pfa | less In the latter, you get tons of plain PS commands like "<args ..> rrcurveto .. <arg> hlineto" etc. which define shapes in plain Postscript. HTH, -dnh, no random sig this time, and BTW: there _is_ one httpd daemon coded in postscript, IIRC! --
Stell mal Exchange-Cluster-Knoten in unterschiedliche Zeitzonen. Das ist lustig. (fuer hiesige Werte von "lustig"). -- J. P. Meier Da lerne ich doch lieber Sendmail. Oder programmiere einen Mailserver in Postscript. -- Arnim Sommer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Aaron Digulla
-
Daniel Bauer
-
David Haller