Re: Magick-users Digest, Vol 106, Issue 1

Boris <[email protected]> Mon, 05 Dec 2011 19:26:36 +0100
Newsgroups gmane.comp.video.image-magick.user
Message-ID <CB02CB6C.5007%[email protected]>


Le 01/12/11 18:00, [email protected]=A0=BB
<[email protected]> a =E9crit=A0:

> Send Magick-users mailing list submissions to
> [email protected]
> =

> To subscribe or unsubscribe via the World Wide Web, visit
> http://studio.imagemagick.org/mailman/listinfo/magick-users
> or, via email, send a message with subject or body 'help' to
> [email protected]
> =

> You can reach the person managing the list at
> [email protected]
> =

> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Magick-users digest..."
> =

> =

> Today's Topics:
> =

>    1. Re: Convert with my fonts (Anthony Thyssen)
> =

> =

> ----------------------------------------------------------------------
> =

> Message: 1
> Date: Thu, 1 Dec 2011 09:05:43 +1000
> From: Anthony Thyssen <[email protected]>
> Subject: Re: [magick-users] Convert with my fonts
> To: [email protected]
> Message-ID: <20111201090543.7c95492e@wraith>
> Content-Type: text/plain; charset=3DUS-ASCII
> =

> On Tue, 29 Nov 2011 13:05:07 +0100
> Boris <[email protected]> wrote:
> | =

> | =

> | =

> | Hi everybody, =

> | =

> | This my problem,
> | =

> | I try to convert SVG file to PDF and I've some issues with fonts.
> | =

> | When Illustrator convert into SVG the name of font is for example:
> | font-family=3D"LucidaHandwriting-Italic" , font-family=3D"BrushScriptMT=
" ...
> | =

> | If I put the font into /usr/share/fonts/ and then I print 'convert -list
> | font' , names of fonts are:
> | =

> |  Font: Lucida-Handwriting-Italique
> |     family: Lucida Handwriting
> |     style: Italic
> |     stretch: Normal
> |     weight: 400
> |     glyphs: /usr/share/fonts/fontPerso/ttf/LucidaHandwritingItalic.ttf
> |  Font: Brush-Script-MT-Italique
> |     family: Brush Script MT
> |     style: Italic
> |     stretch: Normal
> |     weight: 400
> |     glyphs: /usr/share/fonts/fontPerso/ttf/Brush Script.ttf
> | =

> | =

> | When I convert svg file, only BrushScriptMT works... but the name is
> | different between svg file and -list font . I don't understand why ?
> | I tried with other fonts, some work, some do not...
> | =

> | I thought the solution was to use type.xml with 'imagick_type_gen' scri=
pt.
> | I put the script and my font in my home folder and I run the script.
> | =

> | The XML file generated contain:
> | =

> | <type =

> |      format=3D"ttf"
> |      name=3D"LucidaHandwritingI"
> |      fullname=3D"Lucida Handwriting Italic"
> |      family=3D"Lucida Handwriting"
> |      glyphs=3D"/home/dave/fontPerso/ttf/LucidaHandwritingItalic.ttf"
> |      /> =

> | <type =

> |      format=3D"ttf"
> |      name=3D"BrushScriptI"
> |      fullname=3D"Brush Script MT Italic"
> |      family=3D"Brush Script "
> |      glyphs=3D"/usr/share/fonts/fontPerso/ttf/Brush Script.ttf"
> |      /> =

> | =

> | =

> | =

> | So I modify this file with the good name and I save it:
> | =

> | <type =

> |      format=3D"ttf"
> |      name=3D"LucidaHandwriting-Italic"
> |      fullname=3D"Lucida Handwriting Italic"
> |      family=3D"Lucida Handwriting"
> |      glyphs=3D"/home/dave/fontPerso/ttf/LucidaHandwritingItalic.ttf"
> |      /> =

> | ... =

> | ... =

> | =

> | =

> | =

> | =

> | When I print 'convert -list font' the name of the font is
> | 'LucidaHandwriting-Italic'.
> | =

> | Good ! =

> | =

> | But when I convert SVG file, neither fonts working... :(
> | =

> | =

> | Can someone help me please ?
> | I'm very lost...
> | =

> | Thank you very much for you help.
> |   =

> | Bye =

> | =

> =

> Look at =

>   http://www.imagemagick.org/Usage/draw/#svg
> =

> what type of SVG handling is your Imagemagick setup to use?
> If it is RSVG, then it is a problem with that library.
> =

> PS: for faster resposes, you may like to post on the IM users forum.
>   http://www.imagemagick.org/discourse-server/viewforum.php?f=3D1
> =

> =

> =

>   Anthony Thyssen ( System Programmer )    <[email protected]>
>  ------------------------------------------------------------------------=
--
>   "Virtual machines?" asked Moira.
>   "That's like a computer that isn't there." Jerry said helpfully
>                                         -- Rick Cook, "The Wizardry Curse=
d"
>  ------------------------------------------------------------------------=
--
>    Anthony's Castle     http://www.ict.griffith.edu.au/anthony/
> =

> =

> ------------------------------
> =

> _______________________________________________
> Magick-users mailing list
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
> =

> =

> End of Magick-users Digest, Vol 106, Issue 1
> ********************************************


Hi,

I use SVG format 1.1 from illustrator.
I don't use RSVG format because I have to edit it before convert.

When I print convert -list format, The result are

     MSVG  SVG       rw+   ImageMagick's own SVG internal renderer
      SVG  SVG       rw+   Scalable Vector Graphics (RSVG 2.26.3)
     SVGZ  SVG       rw+   Compressed Scalable Vector Graphics (RSVG 2.26.3)


Thank you very much for your help ! ;)

PS: I already tried to suscribe on IM users forum but I don't receive
confirmation mail... And if I click on "resend button", I don't receive
either.. I don't know why ?