SVG basic font set

User avatar
Daniel Beardsmore

21 Oct 2012, 12:46

Could someone who knows FreeBSD please assist webwit in getting a set of basic fonts made available for the MediaWiki SVG renderer? Probably just one single, decent sans-serif face would be enough, in bold and italic and a series of weights — something that can be used for labels in diagrams basically. Something like Swiss 721 would be nice (much nicer than Arial), but essentially it needs to be free and available cross-platform.

Thanks.

User avatar
Burnin

21 Oct 2012, 12:57

here is the font converter, it can generate SVG from any other format http://onlinefontconverter.com/myfonts.php not sure if it will help.

Not sure if i understand what you want to achieve. Are you talking about svg to raster graphics conversion? take a look here http://stackoverflow.com/questions/1205 ... ont-magick

As far as i am concerned, MediaWiki uses ImageMagic as a default converter

User avatar
Daniel Beardsmore

21 Oct 2012, 13:06

No, the problem is that when you put text into an SVG image, you have to pick a font. When you upload SVG images to the wiki, the MediaWiki software renders the image as PNG for display purposes, for reasons of browser compatibility. That means that both the artist and the server need the same type families available: the server uses its local copies of the fonts in the process.

webwit's put up one font package that actually exists for download (though it's a nightmare to track down and unpack) but the text comes out completely wrong — the text here is not only far too narrow, but look at the "p": http://deskthority.net/wiki/File:Alps_r ... terior.svg

I have no idea what font that is, but it is NOT the one I've set in the SVG. Since nobody cares about Alps, I've just left that diagram broken, and I've left another one broken where one of the major captions just doesn't show up at all. However, moving forward, we can't go on without having a proper type family or two that anyone can easily download and install on the Windows PC, Mac, Linux box etc and feel sure that the server's renderer will reproduce accurately (including the font metrics, so you don't get overlaps and text that's half-way off the side of the image).

User avatar
Burnin

21 Oct 2012, 13:13

I am pretty sure, your image editor should have an option to include the font inside of your svg when saving.
Edit:
...or you can use the converter above and just embed the font into your svg by hands in any text editor.

As for the font family., can i propose Red Hat's Liberation family? It is freely available and have same metrics as Arial, Arial Narrow, Times New Roman, and Courier New.
Last edited by Burnin on 21 Oct 2012, 13:40, edited 1 time in total.

User avatar
Daniel Beardsmore

21 Oct 2012, 13:36

There's no clear picture on exactly what Inkscape can do with fonts — it appears that true font embedding is on their road map, but their development process is glacial.

User avatar
webwit
Wild Duck

21 Oct 2012, 13:46

Burnin wrote:I am pretty sure, your image editor should have an option to include the font inside of your svg when saving.
Edit:
...or you can use the converter above and just embed the font into your svg by hands in any text editor.

As for the font family., can i propose Red Hat's Liberation family? It is freely available and have same metrics as Arial, Arial Narrow, Times New Roman, and Courier New.
Fonts in svg are not the problem, those work.
The problem is the fonts picked by the svg2png converter. Like mentioned above, in the pages it uses png to represent the svg, and when you go the image page, you can view the original svg image. We use the same svg2png converter as wikipedia. I don't know much about fonts handling in bsd, because I purely use it as a server with x11 disabled. I installed some fonts mentioned here, but apparently that did not do the trick.

Maybe someone has wrestled with this kind of issue before?

User avatar
Burnin

21 Oct 2012, 14:03

webwit wrote:
Burnin wrote:I am pretty sure, your image editor should have an option to include the font inside of your svg when saving.
Edit:
...or you can use the converter above and just embed the font into your svg by hands in any text editor.

As for the font family., can i propose Red Hat's Liberation family? It is freely available and have same metrics as Arial, Arial Narrow, Times New Roman, and Courier New.
Fonts in svg are not the problem, those work.
The problem is the fonts picked by the svg2png converter. Like mentioned above, in the pages it uses png to represent the svg, and when you go the image page, you can view the original svg image. We use the same svg2png converter as wikipedia. I don't know much about fonts handling in bsd, because I purely use it as a server with x11 disabled. I installed some fonts mentioned here, but apparently that did not do the trick.

Maybe someone has wrestled with this kind of issue before?
It shouldn't be connected to X11 anyhow. It is something ImageMagic related. You installed some fonts but they are different form the font that is used in the Alps SVG file mentioned above (Nimbus Sans L). You don't have it installed so imagemagic uses some other font as a fall-back.
Wikipedia has tons of fonts on its server http://meta.wikimedia.org/wiki/SVG_fonts
I think there is only 2 options: installing all of the commonly-used fonts, or embedding them in SVG files.

User avatar
Daniel Beardsmore

21 Oct 2012, 14:09

.....................?

Nimbus Sans L is on the DT server. It is also on my PC.

However, the SVG renderer isn't using that font. I've tested with rsvg-convert.exe on my PC and it looks OK (it's a mostly accurate Win32 build of the converter used by MediaWiki) so something on the server isn't right.

Instead of guessing, why not actually find some actual documentation for embedding fonts in SVG using Inkscape, since you're so sure that it can be done?

User avatar
Vierax

21 Oct 2012, 14:26

To use Inkscape to create keyboard layout presentations, I'm sure there is an option to convert text in vectorized object but I don't know where 'cause I didn't need it by now. It's a great thing to be sure that unicode characters are nicely viewed but as the text isn't considered as text you can't simply modify it and you have to delete the object and recreate a brand new one.

User avatar
Burnin

21 Oct 2012, 14:33

Daniel Beardsmore wrote:.....................?

Nimbus Sans L is on the DT server. It is also on my PC.

However, the SVG renderer isn't using that font. I've tested with rsvg-convert.exe on my PC and it looks OK (it's a mostly accurate Win32 build of the converter used by MediaWiki) so something on the server isn't right.

Instead of guessing, why not actually find some actual documentation for embedding fonts in SVG using Inkscape, since you're so sure that it can be done?
https://dl.dropbox.com/u/5950701/Alps_r ... terior.svg try this file. tested in Chrome, the font is not installed on my PC. Font was embedded using text-editor.

User avatar
Daniel Beardsmore

21 Oct 2012, 14:47

Yes Inkscape understands what you did perfectly. The SVG to PNG converter however does not.

C:\Documents and Settings\Dan\Desktop *"\Program Files\Xcmd\rsvg-convert.exe" Alps_recognition_exterior.svg -o Alps_recognition_exterior.svg.png

(rsvg-convert.exe:2856): Pango-WARNING **: couldn't load font "Nimbus Sans L Not-Rotated 16.7998046875", falling back to "Sans Not-Rotated 16.7998046875", expect ugly output.

User avatar
Burnin

21 Oct 2012, 14:53

Ok. then this is what we are looking for: http://www.imagemagick.org/script/convert.php assuming DT server uses default MadiaWiki's converter. I'd start with "convert -list Font" http://www.imagemagick.org/script/comma ... s.php#list

User avatar
Daniel Beardsmore

21 Oct 2012, 15:06

What does that do? The documentation doesn't either explain or demonstrate WTF "convert -list Font" is even for.

Btw, ideally our choice of font would have a strong Unicode repertoire. Do you know how big that is? To give you an example, Arial Unicode MS in pure binary is 23 MB! If you converted that to XML, Inkscape would go up like a nuke. Embedding Nimbus Sans L only "works" because it's a pathetic font with hardly anything in it (and a lot of empty characters for some reason).

(PS your revert of the SVG has just bloated the changelog of the image by another step. Please stop messing with it. If you want to test, just grab an rsvg converter binary. It should be in ports, since, after all, you're only responding here because you know FreeBSD like I asked.)

User avatar
Burnin

21 Oct 2012, 15:13

I've dropped the idea of embedding the font. You are right, it is not usable.
"convert -list Font" Prints the list of the fonts seen by ImageMagic.
PS your revert of the SVG has just bloated the changelog of the image by another step. Please stop messing with it. If you want to test, just grab an rsvg converter binary. It should be in ports, since, after all, you're only responding here because you know FreeBSD like I asked.
Sorry for that. will not post here anymore.

User avatar
webwit
Wild Duck

21 Oct 2012, 18:25

Burnin wrote:Ok. then this is what we are looking for: http://www.imagemagick.org/script/convert.php assuming DT server uses default MadiaWiki's converter. I'd start with "convert -list Font" http://www.imagemagick.org/script/comma ... s.php#list
Thanks, so rsvg-convert is linked to imagemagick? I was already wondering where it was picking fonts from.

Code: Select all

convert -list Font

Path: /usr/local/etc/ImageMagick/type-ghostscript.xml
  Font: AvantGarde-Book
    family: AvantGarde
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/a010013l.pfb
  Font: AvantGarde-BookOblique
    family: AvantGarde
    style: Oblique
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/a010033l.pfb
  Font: AvantGarde-Demi
    family: AvantGarde
    style: Normal
    stretch: Normal
    weight: 600
    glyphs: /usr/local/share/ghostscript/fonts/a010015l.pfb
  Font: AvantGarde-DemiOblique
    family: AvantGarde
    style: Oblique
    stretch: Normal
    weight: 600
    glyphs: /usr/local/share/ghostscript/fonts/a010035l.pfb
  Font: Bookman-Demi
    family: Bookman
    style: Normal
    stretch: Normal
    weight: 600
    glyphs: /usr/local/share/ghostscript/fonts/b018015l.pfb
  Font: Bookman-DemiItalic
    family: Bookman
    style: Italic
    stretch: Normal
    weight: 600
    glyphs: /usr/local/share/ghostscript/fonts/b018035l.pfb
  Font: Bookman-Light
    family: Bookman
    style: Normal
    stretch: Normal
    weight: 300
    glyphs: /usr/local/share/ghostscript/fonts/b018012l.pfb
  Font: Bookman-LightItalic
    family: Bookman
    style: Italic
    stretch: Normal
    weight: 300
    glyphs: /usr/local/share/ghostscript/fonts/b018032l.pfb
  Font: Courier
    family: Courier
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n022003l.pfb
  Font: Courier-Bold
    family: Courier
    style: Normal
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n022004l.pfb
  Font: Courier-BoldOblique
    family: Courier
    style: Oblique
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n022024l.pfb
  Font: Courier-Oblique
    family: Courier
    style: Oblique
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n022023l.pfb
  Font: fixed
    family: Helvetica
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n019003l.pfb
  Font: Helvetica
    family: Helvetica
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n019003l.pfb
  Font: Helvetica-Bold
    family: Helvetica
    style: Normal
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n019004l.pfb
  Font: Helvetica-BoldOblique
    family: Helvetica
    style: Italic
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n019024l.pfb
  Font: Helvetica-Narrow
    family: Helvetica Narrow
    style: Normal
    stretch: Condensed
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n019043l.pfb
  Font: Helvetica-Narrow-Bold
    family: Helvetica Narrow
    style: Normal
    stretch: Condensed
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n019044l.pfb
  Font: Helvetica-Narrow-BoldOblique
    family: Helvetica Narrow
    style: Oblique
    stretch: Condensed
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n019064l.pfb
  Font: Helvetica-Narrow-Oblique
    family: Helvetica Narrow
    style: Oblique
    stretch: Condensed
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n019063l.pfb
  Font: Helvetica-Oblique
    family: Helvetica
    style: Italic
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n019023l.pfb
  Font: NewCenturySchlbk-Bold
    family: NewCenturySchlbk
    style: Normal
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/c059016l.pfb
  Font: NewCenturySchlbk-BoldItalic
    family: NewCenturySchlbk
    style: Italic
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/c059036l.pfb
  Font: NewCenturySchlbk-Italic
    family: NewCenturySchlbk
    style: Italic
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/c059033l.pfb
  Font: NewCenturySchlbk-Roman
    family: NewCenturySchlbk
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/c059013l.pfb
  Font: Palatino-Bold
    family: Palatino
    style: Normal
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/p052004l.pfb
  Font: Palatino-BoldItalic
    family: Palatino
    style: Italic
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/p052024l.pfb
  Font: Palatino-Italic
    family: Palatino
    style: Italic
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/p052023l.pfb
  Font: Palatino-Roman
    family: Palatino
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/p052003l.pfb
  Font: Symbol
    family: Symbol
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/s050000l.pfb
  Font: Times-Bold
    family: Times
    style: Normal
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n021004l.pfb
  Font: Times-BoldItalic
    family: Times
    style: Italic
    stretch: Normal
    weight: 700
    glyphs: /usr/local/share/ghostscript/fonts/n021024l.pfb
  Font: Times-Italic
    family: Times
    style: Italic
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n021023l.pfb
  Font: Times-Roman
    family: Times
    style: Normal
    stretch: Normal
    weight: 400
    glyphs: /usr/local/share/ghostscript/fonts/n021003l.pfb

User avatar
webwit
Wild Duck

21 Oct 2012, 18:36

Reading a bit more, I don't think rsvg is related to imagemagick?

I also found this:
http://meta.wikimedia.org/wiki/SVG_font ... t_packages
http://wiki.laptop.org/go/Fonts#Installing_fonts

Code: Select all

fc-list
/usr/local/lib/X11/fonts/urwfonts-ttf/n019063l.ttf: Nimbus Sans L:style=ReguCondItal
/usr/local/lib/X11/fonts/freefont/crillee.pfb: Crillee:style=Regular
/usr/local/lib/X11/fonts/URW/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
/usr/local/lib/X11/fonts/OTF/SyrCOMTalada.otf: Estrangelo Talada:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMJerusalemOutline.otf: Serto Jerusalem Outline:style=Regular
/usr/local/lib/X11/fonts/bitstream-vera/VeraIt.ttf: Bitstream Vera Sans:style=Oblique
/usr/local/lib/X11/fonts/freefont/parkave.pfb: ParkAvenue:style=Normal
/usr/local/lib/X11/fonts/freefont/old_town.pfb: Old\-Town:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMJerusalem.otf: Serto Jerusalem:style=Regular
/usr/local/lib/X11/fonts/freefont/victoria.pfb: Victoriana Display SSi:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/b018035l.ttf: URW Bookman L:style=DemiBoldItal
/usr/local/lib/X11/fonts/urwfonts-ttf/n022024l.ttf: Nimbus Mono L:style=BoldOblique
/usr/local/lib/X11/fonts/freefont/carrickc.pfb: CarrickCaps:style=Regular
/usr/local/lib/X11/fonts/freefont/cunei.pfb: CuneiFont:style=Light
/usr/local/lib/X11/fonts/freefont/garmndmi.pfb: Garamond:style=Medium-Italic
/usr/local/lib/X11/fonts/URW/n019004l.pfb: Nimbus Sans L:style=Bold
/usr/local/lib/X11/fonts/urwfonts-ttf/p052004l.ttf: URW Palladio L:style=Bold
/usr/local/lib/X11/fonts/OTF/SyrCOMTurAbdin.otf: Estrangelo TurAbdin:style=Regular
/usr/local/lib/X11/fonts/freefont/goudyo.pfb: Goudy\-Old\-Style:style=Normal
/usr/local/lib/X11/fonts/URW/b018012l.pfb: URW Bookman L:style=Light
/usr/local/lib/X11/fonts/freefont/muriel.pfb: Muriel:style=Regular
/usr/local/lib/X11/fonts/freefont/tempofon.pfb: TempoFont:style=Regular
/usr/local/lib/X11/fonts/URW/s050000l.pfb: Standard Symbols L:style=Regular
/usr/local/lib/X11/fonts/URW/c059033l.pfb: Century Schoolbook L:style=Italic
/usr/local/lib/X11/fonts/freefont-ttf/FreeSansOblique.ttf: FreeSans:style=Oblique,наклонен,negreta cursiva,kurzíva,kursiv,Πλάγια,Cursiva,Kursivoitu,Italique,DÅlt,Corsivo,Cursief,kursywa,Itálico,oblic,ÐÑÑÑив,Ä°talik,huruf miringe,slÄ«praksts,pasvirasis,nghiêng,Etzana,तिरत¾
/usr/local/lib/X11/fonts/URW/n021003l.pfb: Nimbus Roman No9 L:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/p052003l.ttf: URW Palladio L:style=Roma
/usr/local/lib/X11/fonts/freefont/postanti.pfb: PostAntiqua:style=Roman
/usr/local/lib/X11/fonts/freefont-ttf/FreeSerifItalic.ttf: FreeSerif:style=Italic,кÑÑÑивен,cursiva,kurzíva,kursiv,ειÏίαÏ,Kue,kursÄ«vs,kursivas,nghiêng,Etzana,तिरत¾Ã¡lico,cursiv,ÐÑÑÑив,à¸à¸±à¸§à¹à¸­à¸µà¸¢à¸,Ä°t/usr/local/lib/X11/fonts/URW/p052003l.pfb: URW Palladio L:style=Roman
/usr/local/lib/X11/fonts/freefont/oldcnd_r.pfb: Old\-TownCnd:style=Normal
/usr/local/lib/X11/fonts/freefont/slogan.pfb: Slogan:style=Normal
/usr/local/lib/X11/fonts/freefont/tempoita.pfb: TempoFontItalic:style=Regular
/usr/local/lib/X11/fonts/URW/c059016l.pfb: Century Schoolbook L:style=Bold
/usr/local/lib/X11/fonts/URW/n019064l.pfb: Nimbus Sans L:style=Bold Condensed Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/n019044l.ttf: Nimbus Sans L:style=BoldCond
/usr/local/lib/X11/fonts/urwfonts-ttf/n019024l.ttf: Nimbus Sans L:style=BoldItalic
/usr/local/lib/X11/fonts/freefont/manzanit.pfb: Manzanita:style=Regular
/usr/local/lib/X11/fonts/frené kurzíva,fed kursiv,Fett-Kursiv,ÎνÏono:style=Bold Oblique,полÑÑеÑен наклонен,Negreta cursiva,tuÄ                                        ονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras Italique,Félkövér dÅlt,Grassená kurzíva,Fet Kursiv,Kalın Ä°talik,huruf tà¤-तिरत¾Ñний /usr/local/lib/X11/fonts/TTF/luxisr.ttf: Luxi Sans:style=Regularasis,Lodi etzana,धà¥à¤·à¥
/usr/local/lib/X11/fonts/freefont/dos_____.pfb: Dobkin:style=Script
/usr/local/lib/X11/fonts/freefont/igloolas.pfb: IglooLaser:style=Regular                               né,fed,Fett,ÎνÏlocal/lib/X11/fonts/freefont-ttf/FreeMonoBold.ttf: FreeMono:style=Bold,полÑÑеÑен,negreta,tuÄ
     ονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrià¤,gros,ÐолÑжиÑнÑй,Fet,K/usr/local/lib/X11/fonts/freefont/luxembrg.pfb: Luxembourg:style=Regularia,धà¥à¤·à¥
/usr/local/lib/X11/fonts/freefont/shalosti.pfb: Shalom:style=Stick                                    ejné,Mittel,µεÏαία,Normaali,Normál,Medio,GemiddeयOdmiana ZwykÅa,ÐбÑÑнÑй,Normálne,menengah,пÑÑмÑй,Navadno,vidÄjs,/usr/local/lib/X11/fonts/URW/z003034l.pfb: URW Chancery L:style=Medium Italic
/usr/local/lib/X11/fonts/bitstream-vera/VeraMono.ttf: Bitstream Vera Sans Mono:style=Roman
/usr/local/lib/X11/fonts/TTF/luxisri.ttf: Luxi Sans:style=Oblique
/usr/local/lib/X11/fonts/bitstream-vera/VeraBI.ttf: Bitstream Vera Sans:style=Bold Oblique
/usr/local/lib/X11/fonts/bitstream-vera/VeraMoBI.ttf: Bitstream Vera Sans Mono:style=Bold Oblique
/usr/local/lib/X11/fonts/frené kurzíva,fed kursiv,Fett-Kursiv,ÎνÏans:style=Bold Oblique,полÑÑеÑен наклонен,negreta cursiva,tuÄ                                        ονη Πλάγια,Negrita Cursiva,Lihaà¤-तिरत¾ras Italique,Fée,treknais  slÄ«praksts,pusjuodis pasvirasis,nghiêng Äậm,Lodi etzana,धà¥à¤·à¥ поѡ/usr/local/lib/X11/fonts/OTF/GohaTibebZemen.otf: Goha\-Tibeb Zemen:style=Regular
/usr/local/lib/X11/fonts/freefont/dragonwi.pfb: Dragonwick:style=Regular
/usr/local/lib/X11/fonts/freefont/florence.pfb: Florence:style=Light
/usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf: Bitstream Vera Sans:style=Roman
/usr/local/lib/X11/fonts/OTF/SyrCOMJerusalemItalic.otf: Serto Jerusalem:style=Italic
/usr/local/lib/X11/fonts/bitstream-vera/VeraMoIt.ttf: Bitstream Vera Sans Mono:style=Oblique
/usr/local/lib/X11/fonts/urwfonts-ttf/z003034l.ttf: URW:style=MediItal
/usr/local/lib/X11/fonts/OTF/SyrCOMMalankara.otf: Serto Malankara:style=Regular
/usr/local/lib/X11/fonts/freefont/becker.pfb: Becker:style=Medium
/usr/local/lib/X11/fonts/urwfonts-ttf/n021023l.ttf: Nimbus Roman No9 L:style=ReguItal
/usr/local/lib/X11/fonts/freefont/calig___.pfb: Caligula:style=Regular
/usr/local/lib/X11/fonts/freefont/oswaldbl.pfb: OSWALDblack:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMNisibinOutline.otf: Estrangelo Nisibin Outline:style=Regular
/usr/local/lib/X11/fonts/URW/n021023l.pfb: Nimbus Roman No9 L:style=Regular Italic
/usr/local/lib/X11/fonts/freefont/bodonib.pfb: Bodoni:style=Bold
/usr/local/lib/X11/fonts/freefont/baskvlb.pfb: Baskerville:style=Bold
/usr/local/lib/X11/fonts/URW/n022023l.pfb: Nimbus Mono L:style=Regular Oblique
/usr/local/lib/X11/fonts/urwfonts-ttf/n022003l.ttf: Nimbus:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/a010013l.ttf: URW Gothic L:style=Book
/usr/local/lib/X11/fonts/freefont/zalescap.pfb: ZaleskiCaps:style=Regular
/usr/local/lib/X11/fonts/freefont/agateb.pfb: Agate:style=Bold
/usr/local/lib/X11/fonts/urwfonts-ttf/b018015l.ttf: URW Bookman L:style=DemiBold
/usr/local/lib/X11/fonts/bitstream-vera/VeraBd.ttf: Bitstream Vera Sans:style=Bold
/usr/local/lib/X11/fonts/URW/d050000l.pfb: Dingbats:style=Regular
/usr/local/lib/X11/fonts/freefont/goudyob.pfb: Goudy\-Old\-Style:style=Bold
/usr/local/lib/X11/fonts/freefont/tribeca.pfb: Tribeca:style=Regular
/usr/local/lib/X11/fonts/URW/n019043l.pfb: Nimbus Sans L:style=Regular Condensed
/usr/local/lib/X11/fonts/urwfonts-ttf/a010033l.ttf: URW Gothic L:style=BookObli
/usr/local/lib/X11/fonts/URW/b018035l.pfb: URW Bookman L:style=Demi Bold Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/b018032l.ttf: URW Bookman L:style=LighItal
/usr/local/lib/X11/fonts/OTF/SyrCOMUrhoyBold.otf: Serto Urhoy:style=Bold
/usr/local/lib/X11/fonts/TTF/luxirbi.ttf: Luxi Serif:style=Bold Oblique
/usr/local/lib/X11/fonts/URW/n022004l.pfb: Nimbus Mono L:style=Bold
/usr/local/lib/X11/fonts/URW/b018015l.pfb: URW Bookman L:style=Demi Bold
/usr/local/lib/X11/fonts/freefont/engravrl.pfb: Engraver:style=Light
/usr/local/lib/X11/fonts/URW/n019024l.pfb: Nimbus Sans L:style=Bold Italic
/usr/local/lib/X11/fonts/TTF/GohaTibebZemen.ttf: Goha\-Tibeb Zemen:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/n019043l.ttf: Nimbus Sans L:style=ReguCond
/usr/local/lib/X11/fonts/URW/n022003l.pfb: Nimbus Mono L:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/n019023l.ttf: Nimbus Sans L:style=ReguItal                      ejné,Standard,µεÏαία,Normaali,Normál,Normale,Standयd,Normalny,ÐбÑÑнÑй,Normálne,menengah,пÑÑмÑй,navadno,vidÄjs,no/usr/local/lib/X11/fonts/URW/a010015l.pfb: URW Gothic L:style=Demi
/usr/local/lib/X11/fonts/OTF/SyrCOMEdessa.otf: Estrangelo Edessa:style=Regular
/usr/local/lib/X11/fonts/freefont/agate.pfb: Agate:style=Normal
/usr/local/lib/X11/fonts/OTF/SyrCOMUrhoy.otf: Serto Urhoy:style=Regular
/usr/local/lib/X11/fonts/URW/n021024l.pfb: Nimbus Roman No9 L:style=Medium Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/n022004l.ttf: Nimbus:style=Bold
/usr/local/lib/X11/fonts/bitstream-vera/VeraSeBd.ttf: Bitstream Vera Serif:style=Bold
/usr/local/lib/X11/fonts/freefont/baskvli.pfb: Baskerville:style=Normal-Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/a010015l.ttf: URW Gothic L:style=Demi
/usr/local/lib/X11/fonts/freefont/eras.pfb: Eras:style=Normal
/usr/local/lib/X11/fonts/né kurzíva,fed kursiv,Fett-Kursiv,Negrita Cursiva,Lihavoitu Kursivoi,Gras à¤-तिरत¾vér dÅlt,Gná kurzíve,treknais kursÄ«vs,pusjuodis kursyvas,nghiêng Äậm,Lodi etzana,धà¥à¤·à¥Ð¶Ð¸Ñний к/usr/local/lib/X11/fonts/urwfonts-ttf/s050000l.ttf: Standard Symbols L:style=StandardSymL
/usr/local/lib/X11/fonts/urwfonts-ttf/n019003l.ttf: Nimbus Sans L:style=Regular                        né,fed,Fett,ÎνÏlocal/lib/X11/fonts/freefont-ttf/FreeSansBold.ttf: FreeSans:style=Bold,полÑÑеÑен,negreta,tuÄ
     ονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Neà¤ito,gros,ÐолÑжиÑнÑй,Fet,K/usr/local/lib/X11/fonts/URW/n019063l.pfb: Nimbus Sans L:style=Regular Condensed Italic
/usr/local/lib/X11/fonts/freefont/mazama.pfb: Mazama:style=Plain
/usr/local/lib/X11/fonts/freefont/brushstr.pfb: Brushstroke:style=Regular
/usr/local/lib/X11/fonts/freefont/dabkc___.pfb: DavysBigKeyCaps:style=Regular
/usr/local/lib/X11/fonts/freefont/oldtwn_r.pfb: Old\-Town:style=Normal
/usr/local/lib/X11/fonts/freefont/rudelsbe.pfb: Rudelsberg:style=Regular
/usr/local/lib/X11/fonts/freefont/goudyoi.pfb: Goudy\-Old\-Style:style=Normal-Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/c059033l.ttf: Century Schoolbook L:style=Italic
/usr/local/lib/X11/fonts/freefont/bodonii.pfb: Bodoni:style=Normal-Italic
/usr/local/lib/X11/fonts/OTF/SyrCOMAntioch.otf: Estrangelo Antioch:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMMidyat.otf: Estrangelo Midyat:style=Regular
/usr/local/lib/X11/fonts/TTF/luxisbi.ttf: Luxi Sans:style=Bold Oblique
/usr/local/lib/X11/fonts/URW/a010035l.pfb: URW Gothic L:style=Demi Oblique
/usr/local/lib/X11/fonts/freefont/genoaita.pfb: GenoaItalic:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMBatnanBold.otf: Serto Batnan:style=Bold
/usr/local/lib/X11/fonts/URW/c059013l.pfb: Century Schoolbook L:style=Roman
/usr/local/lib/X11/fonts/bitstream-vera/VeraSe.ttf: Bitstream Vera Serif:style=Roman
/usr/local/lib/X11/fonts/OTF/SyrCOMAdiabene.otf: East Syriac Adiabene:style=Regular
/usr/local/lib/X11/fonts/bitstream-vera/VeraMoBd.ttf: Bitstream Vera Sans Mono:style=Bold
/usr/local/lib/X11/fonts/freefont/coronet.pfb: Coronet:style=SemiBold-Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/n021004l.ttf: Nimbus Roman No9 L:style=Medium
/usr/local/lib/X11/fonts/freefont/roosthea.pfb: RoostHeavy:style=Regular
/usr/local/lib/X11/fonts/freefont/agatei.pfb: Agate:style=Normal-Italic
/usr/local/lib/X11/fonts/freefont/boecklin.pfb: ArnoldBoecklin:style=ExtraBold
/usr/local/lib/X11/fonts/freefont/frquad.pfb: FrizQuadrata:style=Thin
/usr/local/lib/X11/fonts/urwfonts-ttf/n021003l.ttf: Nimbus Roman No9 L:style=Regular
/usr/local/lib/X11/fonts/freefont/eraselt.pfb: Eras\-Light:style=Light
/usr/local/lib/X11/fonts/freefont/erasmed.pfb: Eras\-Medium:style=Medium
/usr/local/lib/X11/fonts/freefont/rechtman.pfb: Rechtman:style=Script
/usr/local/lib/X11/fonts/URW/p052024l.pfb: URW Palladio L:style=Bold Italic
/usr/local/lib/X11/fonts/urwfonts-ttf/p052024l.ttf: URW Palladio L:style=BoldItalic
/usr/local/lib/X11/fonts/TTF/luxisb.ttf: Luxi Sans:style=Bold
/usr/local/lib/X11/fonts/freefont/salter.pfb: Salter:style=Regular
/usr/local/lib/X11/fonts/freefont/capri.pfb: Sinaloa:style=Regular
/usr/local/lib/X11/fonts/freefont/gocmseq_.pfb: GoodCityModern:style=Regular
/usr/local/lib/X11/fonts/freefont/windsord.pfb: WindsorDemi:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMMardin.otf: Serto Mardin:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/d050000l.ttf: Dingbats:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/c059016l.ttf: Century Schoolbook L:style=Bold
/usr/local/lib/X11/fonts/freefont/erasltra.pfb: Eras\-UltraBlk:style=Heavy
/usr/local/lib/X11/fonts/URW/p052004l.pfb: URW Palladio L:style=Bold
/usr/local/lib/X11/fonts/freefont/ans.pfb: Ann:style=Stone
/usr/local/lib/X11/fonts/freefont/shf_____.pfb: Shohl:style=Fold
/usr/local/lib/X11/fonts/freefont/ftpstrps.pfb: Futura_Poster:style=Light
/usr/local/lib/X11/fonts/urwfonts-ttf/c059013l.ttf: Century Schoolbook L:style=Roma
/usr/local/lib/X11/fonts/freefont/tekton.pfb: Tekton Display SSi:style=Regular
/usr/local/lib/X11/fonts/freefont/gocmase_.pfb: GoodCityModern:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMJerusalemBold.otf: Serto Jerusalem:style=Bold
/usr/local/lib/X11/fonts/URW/p052023l.pfb: URW Palladio L:style=Italic
/usr/local/lib/X11/fonts/TTF/luximri.ttf: Luxi Mono:style=Oblique
/usr/local/lib/X11/fonts/URW/b018032l.pfb: URW Bookman L:style=Light Italic
/usr/local/lib/X11/fonts/freefont/cooprblk.pfb: Cooper:style=Heavy
/usr/local/lib/X11/fonts/urwfonts-ttf/n019064l.ttf: Nimbus Sans L:style=BoldCondItal
/usr/local/lib/X11/fonts/URW/n022024l.pfb: Nimbus Mono L:style=Bold Oblique
/usr/local/lib/X11/fonts/OTF/SyrCOMBatnan.otf: Serto Batnan:style=Regular
/usr/local/lib/X11/fonts/freefont/genoarom.pfb: GenoaRoman:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/p052023l.ttf: URW Palladio L:style=Italic
/usr/local/lib/X11/fonts/URW/n019003l.pfb: Nimbus Sans L:style=Regular
/usr/local/lib/X11/fonts/freefont/spooky.pfb: Spooky:style=Plain
/usr/local/lib/X11/fonts/freefont/linotext.pfb: Linotext:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/c059036l.ttf: Century Schoolbook L:style=BoldItalic
/usr/local/lib/X11/fonts/freefont/baskvl.pfb: Baskerville:style=Normal                                  ejné,Mittel,µεÏαία,Normaali,Normál,Normale,Gemiddeld,odmiana zwykÅaय±ÑÑнÑй,Normálne,ุà¸à¸´,menengah,пÑÑмÑй,Na/usr/local/lib/X11/fonts/TTF/luximb.ttf: Luxi Mono:style=Boldà¥
/usr/local/lib/X11/fonts/URW/c059036l.pfb: Century Schoolbook L:style=Bold Italic                        né,fed,Fett,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,gros,ÐбÑÑнÑй,Fet,à¸à¸±à¸§à¸«à¸à¸²,Kalın,huruf tebal,жиऽий,Polkrepko,treknraksts,pusjuodis,ضخÛÙ
/usr/local/lib/X11/fonts/TTF/luxirri.ttf: Luxi Serif:style=Oblique
/usr/local/lib/X11/fonts/freefont/shaloscr.pfb: Shalom:style=Script
/usr/local/lib/X11/fonts/TTF/luxirr.ttf: Luxi Serif:style=Regular
/usr/local/lib/X11/fonts/freefont/cheq.pfb: Cheq:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMNisibin.otf: Estrangelo Nisibin:style=Regular
/usr/local/lib/X11/fonts/freefont/crf_____.pfb: Crackling:style=Fire
/usr/local/lib/X11/fonts/freefont/bodoni.pfb: Bodoni:style=Normal
/usr/local/lib/X11/fonts/freefont/blippo.pfb: Blippo:style=Heavy
/usr/local/lib/X11/fonts/URW/n019023l.pfb: Nimbus Sans L:style=Regular Italic
/usr/local/lib/X11/fonts/freefont/frquadb.pfb: FrizQuadrata:style=Bold
/usr/local/lib/X11/fonts/TTF/luximbi.ttf: Luxi Mono:style=Bold Oblique
/usr/local/lib/X11/fonts/freefont/erasb.pfb: Eras:style=Bold
/usr/local/lib/X11/fonts/OTF/SyrCOMCtesiphon.otf: East Syriac Ctesiphon:style=Regular
/usr/local/lib/X11/fonts/freefont/oldext_r.pfb: Old\-TownExt:style=Normal
/usr/local/lib/X11/fonts/freefont/brahc___.pfb: Braille\-HC:style=Regular
/usr/local/lib/X11/fonts/urwfonts-ttf/b018012l.ttf: URW Bookman L:style=Light
/usr/local/lib/X11/fonts/OTF/SyrCOMMardinBold.otf: Serto Mardin:style=Bold
/usr/local/lib/X11/fonts/urwfonts-ttf/a010035l.ttf: URW Gothic L:style=DemiObli
/usr/local/lib/X11/fonts/freefont/elann___.pfb: Elizabeth:style=ANN
/usr/local/lib/X11/fonts/URW/n021004l.pfb: Nimbus Roman No9 L:style=Medium
/usr/local/lib/X11/fonts/URW/a010013l.pfb: URW Gothic L:style=Book
/usr/local/lib/X11/fonts/URW/a010033l.pfb: URW Gothic L:style=Book Oblique
/usr/local/lib/X11/fonts/OTF/SyrCOMQenNeshrin.otf: Estrangelo Quenneshrin:style=Regular
/usr/local/lib/X11/fonts/OTF/SyrCOMKharput.otf: Serto Kharput:style=Regular
/usr/local/lib/X11/fonts/TTF/luximr.ttf: Luxi Mono:style=Regular
/usr/local/lib/X11/fonts/freefont-ttf/FreeMonoOblique.ttf: FreeMono:style=Oblique,наклонен,cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,DÅlt,Corsivo,Cursief,Kursywa,Itálico,oblic,ÐÑÑÑив,Ä°talik,huruf miring,Ð¿Ð¾Ñ          e,slÄ«praksts,pasvirasis,nghiêng,Etzana,तिरत¾
/usr/local/lib/X11/fonts/freefont/shaloold.pfb: Shalom:style=OldStyle
/usr/local/lib/X11/fonts/freefont/erasblkb.pfb: Eras\-Black:style=SemiBold
/usr/local/lib/X11/fonts/urwfonts-ttf/n019004l.ttf: Nimbus Sans L:style=Bold
/usr/local/lib/X11/fonts/urwfonts-ttf/n022023l.ttf: Nimbus:style=ReguObli
/usr/local/lib/X11/fonts/TTF/luxirb.ttf: Luxi Serif:style=Bold
/usr/local/lib/X11/fonts/freefont/classhvy.pfb: ClassicHeavy:style=Light
/usr/local/lib/X11/fonts/urwfonts-ttf/n021024l.ttf: Nimbus Roman No9 L:style=MediItal

Code: Select all

fc-match Helvetica
n019003l.ttf: "Nimbus Sans L" "Regular"

User avatar
Burnin

21 Oct 2012, 19:00

maybe rsvg-convert is not related to ImageMagic(did not used it), but convert is one of ImageMagic's standard utilities.
Looks like you just need to add fonts to your [prefix]/etc/ImageMagick/type.xml
Not sure what prefix is be correct for FreeBSD

User avatar
webwit
Wild Duck

21 Oct 2012, 19:03

/usr/local/
Thanks, found it.
But we're using librsvg, not ImageMagick:
http://www.mediawiki.org/wiki/Manual:Im ... ration#SVG

User avatar
Burnin

21 Oct 2012, 19:16

Oops. Then i can't help you, sorry. Thought you were using the default. :(

User avatar
webwit
Wild Duck

21 Oct 2012, 19:21

"This is the default, but avoid it if possible."

Weird mediawiki :mrgreen:
I could try it of course, and see what happens.

User avatar
Burnin

21 Oct 2012, 19:31

SVG is a really big and complex format. Most of the software implements just a portion of it. I once had to write a simple SVG2VML converter, that was a pain.

User avatar
Daniel Beardsmore

21 Oct 2012, 22:00

It's a W3C standard, of course it's going to be overcomplicated. I did wonder if Inkscape would let me put hyperlinks into images (think image map) but it seems it cannot. But then, it's still in the 0.4 version series and has been for, what, 5, 6 years or more? Honestly I'm just grateful that the stupid thing doesn't crash every five minutes any more …

User avatar
Compgeke

08 May 2013, 08:29

Not sure if your programs support this, but I using Illustrator I can create outlines of the text (Type>Create Outlines) and then when I save the SVG the font looks the same as it did before hand as it's an object rather than just text.

An example:
http://goput.it/kym.svg
Image

Edit: I just realized how old this thread is...sorry for reviving a dead thread.

User avatar
Daniel Beardsmore

08 May 2013, 09:10

I've done that before, sure — the problem is that the text is no longer editable. What I sometimes do is have two layers: real editable text (hidden) and text converted to paths (visible).

For caption text, however, you do really want plain editable text, and it should be in a font that the server recognises and knows how to render.

Post Reply

Return to “Deskthority wiki talk”