|
List Info
Thread: Fonts
|
|
| Fonts |

|
2005-12-01 02:29:17 |
On Wed, 30 Nov 2005 18:20:50 -0700, JMVWare wrote:
Hi John-Marc
> You can always specify the font path with the font name
in the IM
> command.
Sorry. I should have said I was working within Perl.
--
Ron Savage
ron savage.net.au
http://savage.net.au/
index.html
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
| Fonts |

|
2005-12-01 03:38:06 |
Ron Savage on wrote...
| On Wed, 30 Nov 2005 18:20:50 -0700, JMVWare wrote:
|
| Hi John-Marc
|
| > You can always specify the font path with the font
name in the IM
| > command.
|
| Sorry. I should have said I was working within Perl.
That shouldn't make a difference!
Anthony Thyssen ( System Programmer ) <A.Thyssen griffith.edu.au>
-----------------------------------------------------------
------------------
The maze was so small the people got lost, looking for
it.
-- Terry Pratchett -
``Men At Arms''
-----------------------------------------------------------
------------------
Anthony's Home is his Castle http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
| Fonts |

|
2005-12-01 04:01:24 |
On Thu, 01 Dec 2005 13:38:06 +1000, Anthony Thyssen wrote:
Hi Anthony
>> Sorry. I should have said I was working within
>> Perl.
> That shouldn't make a difference!
Good point.
Try again...
This did not output any text:
$result = $image -> Annotate
(
text => 'Annotation',
x => 10,
y => 34,
stroke => 'none',
font => 'LokiCola.ttf', # This line changes below...
pointsize => 32,
fill => 'black'
);
but this does:
$result = $image -> Annotate
(
text => 'Annotation',
x => 10,
y => 34,
stroke => 'none',
font => 'c:WindowsFontsLokiCola.ttf',
pointsize => 32,
fill => 'black'
);
--
Ron Savage
ron savage.net.au
http://savage.net.au/
index.html
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
| Fonts |

|
2005-12-01 05:09:21 |
Ron Savage on wrote...
| On Thu, 01 Dec 2005 13:38:06 +1000, Anthony Thyssen wrote:
|
| Hi Anthony
|
| >> Sorry. I should have said I was working within
| >> Perl.
| > That shouldn't make a difference!
|
| Good point.
|
| Try again...
|
| This did not output any text:
|
| $result = $image -> Annotate
| (
| text => 'Annotation',
| x => 10,
| y => 34,
| stroke => 'none',
| font => 'LokiCola.ttf', # This line changes below...
| pointsize => 32,
| fill => 'black'
| );
|
| but this does:
|
| $result = $image -> Annotate
| (
| text => 'Annotation',
| x => 10,
| y => 34,
| stroke => 'none',
| font => 'c:WindowsFontsLokiCola.ttf',
| pointsize => 32,
| fill => 'black'
| );
|
OK to make the first version work, you will need to find and
update
(somehow) the type.xml file, to include the new font info.
I have no idea where it is or how to find it under windows.
Anthony Thyssen ( System Programmer ) <A.Thyssen griffith.edu.au>
-----------------------------------------------------------
------------------
Always choose a bigger enemy. It makes him easier to
hit!
--- Terry Pratchett
``The Carpet People''
-----------------------------------------------------------
------------------
Anthony's Home is his Castle http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
| Fonts |

|
2005-12-01 06:01:05 |
On Thu, 01 Dec 2005 15:09:21 +1000, Anthony Thyssen wrote:
Hi Anthony
> OK to make the first version work, you will need to
find and update
> (somehow) the type.xml file, to include the new font
info. I have
> no idea where it is or how to find it under windows.
Yes, I originally tried that (an earlier post mentioned
editing type*.xml), by
copying a font's XML from type-ghostscript.xml, and changing
the definition to
match the new font, but then all fonts stopped working, so
obviously I didn't
get it right :-(.
I had successfully done this years ago, too.
--
Ron Savage
ron savage.net.au
http://savage.net.au/
index.html
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
| Fonts |

|
2005-12-01 06:53:07 |
Ron Savage on wrote...
| On Thu, 01 Dec 2005 15:09:21 +1000, Anthony Thyssen wrote:
|
| Hi Anthony
|
| > OK to make the first version work, you will need to
find and update
| > (somehow) the type.xml file, to include the new font
info. I have
| > no idea where it is or how to find it under windows.
|
| Yes, I originally tried that (an earlier post mentioned
editing type*.xml), by
| copying a font's XML from type-ghostscript.xml, and
changing the definition to
| match the new font, but then all fonts stopped working, so
obviously I didn't
| get it right :-(.
|
| I had successfully done this years ago, too.
Try the type-windows.xml file.
The structure is not difficult to work out. I did it for a
script
that generates a 'personal' addition type.xml file.
Anthony Thyssen ( System Programmer ) <A.Thyssen griffith.edu.au>
-----------------------------------------------------------
------------------
``The contents of book `as yet unwritten' can be deduced
from books
now in existance'' -- General Theory of L-Space
(Library-Space)
-- Terry Pratchett ``Loards and
Ladies''
-----------------------------------------------------------
------------------
Anthony's Home is his Castle http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|
|
[1-6]
|
|