Hi,
I have 2 Imagemagic commands:
convert \
-size 529x70 \
-pointsize 24 \
-gravity center \
label:'Feliz Natal e Bon Ano Novo' \
footer.png
and
convert \
-size 529x70 \
-pointsize 24 \
-gravity center \
label:'Para Kina e Jose' \
header.png
They both have pointsize 24 but nevertheless result in fonts wich have different size.
What is going wrong here?
Best regards,
Francky
fontsize
Re: fontsize
Works OK for me - same size text.
Re: fontsize
Place the 2 .png images next to one another: they have the same width and height,Bonzo wrote:Works OK for me - same size text.
and are both complelely filled with text. The font sizes however differ by a factor
of approximatly 2. I don't want this: the font sizes have to be the same.
Best regards,
Francky
Re: fontsize
Well as I say it works OK for me so you need to provide more information on your version and setup.
Re: fontsize
Yes, it works ok, but it's not what I want.Bonzo wrote:Well as I say it works OK for me so you need to provide more information on your version and setup.
I have tried it on PC cygwin and under UNIX Ubuntu.
It has nothing to do with this. It's just that the stearing
is wrong in some way.
It's a pitty a can't attach an image file. Anyway, look good
at the images next to one another. The font of header.png is twice
as large as that of footer.png.
Best regards,
Francky
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: fontsize
I have no problem with your commands either. The font sizes are the same. I alternated displaying the images quickly and can see no difference in font size.
Two points:
1) what version of IM and freetype are you using on each platform
2) try defining a specific font, each system may have a different default font.
I am running IM 6.7.4.0 Q16 Mac OSX Snow Leopard.
P.S.
You can find numerous free image hosting sites, such as dropbox. Upload your images there and then put links in your post here to those images.
Two points:
1) what version of IM and freetype are you using on each platform
2) try defining a specific font, each system may have a different default font.
I am running IM 6.7.4.0 Q16 Mac OSX Snow Leopard.
P.S.
You can find numerous free image hosting sites, such as dropbox. Upload your images there and then put links in your post here to those images.
Re: fontsize
fmw42 wrote:I have no problem with your commands either. The font sizes are the same. I alternated displaying the images quickly and can see no difference in font size.
Two points:
1) what version of IM and freetype are you using on each platform
Let's concentrate on the Linux platform:
IM 6.3.7 on Linux Ubuntu
How do I determine the freetype?
2) try defining a specific font, each system may have a different default font.
On
http://www.deei.fct.ualg.pt/~leyn/Jose.tar
you can see what I get as result.
I am running IM 6.7.4.0 Q16 Mac OSX Snow Leopard.
P.S.
You can find numerous free image hosting sites, such as dropbox. Upload your images there and then put links in your post here to those images.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: fontsize
Your version of IM is not honoring the pointsize and is just using the width or height to determine the pointsize. That is what it looks like to me. Best I can suggest is upgrade your IM.
type
find /usr | grep "freetype"
somewhere in the list it should show the version number.
But I suspect it was a bug in IM in your version. IM 6.3.7 is very old.
type
find /usr | grep "freetype"
somewhere in the list it should show the version number.
But I suspect it was a bug in IM in your version. IM 6.3.7 is very old.