Search found 7 matches

by eldi
2015-03-09T06:50:43-07:00
Forum: Bugs
Topic: PANGO and italic
Replies: 0
Views: 3750

PANGO and italic

Hi, I have hit another problem with PANGO. When using italic the image is trimmed too much. It looks like it takes normal font style to calculate size and then it applies the italic text to it. Then the last letters are usually trimmed. Here is example code: convert -size 300x300 xc:white -alpha ...
by eldi
2014-12-20T12:43:29-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

Re: pango and gravity ImageMagick 6.8.9-8

No I haven't tried. I actually do not know where should I start, especially I remember C++ from my studies only, no mention C;-) Maybe do you know where I can find nice and easy tutorial for it?
by eldi
2014-12-20T12:27:29-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

Re: pango and gravity ImageMagick 6.8.9-8

Thanks, but think that is good for static, mostly per line rendering, I cannot imagine what I would have to do to render this (I understand that every different font, font weight or color should be rendered as standalone image and then positioned on merged image appropriate?): some bold and italic ...
by eldi
2014-12-20T06:44:14-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

Re: pango and gravity ImageMagick 6.8.9-8

I think that it is worth adding my example to show what cannot be done with PANGO - I mean the align and correct underline when spans are in different sizes. Nevertheless there is some issue with PANGO or implementation in IM, as I cannot understand why those two scenarios would not be handled. I do ...
by eldi
2014-12-20T04:16:49-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

Re: pango and gravity ImageMagick 6.8.9-8

So you are saying that it is not possible with PANGO and IM?

Could you propose any other tool to create image from text which would have basic manipulation of text as PANGO has?

p.s. your link doesn't work
by eldi
2014-12-19T16:07:26-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

Re: pango and gravity ImageMagick 6.8.9-8

According to https://developer.gnome.org/pango/stable/PangoMarkupFormat.html, PANGO supports only south, east, north, west and auto gravity settings in the span. I do not know if there are conflicts with using IM -gravity and PANGO gravity settings. Actually I have tried this PANGO gravity setting ...
by eldi
2014-12-19T15:36:54-07:00
Forum: Bugs
Topic: pango and gravity ImageMagick 6.8.9-8
Replies: 11
Views: 7177

pango and gravity ImageMagick 6.8.9-8

Hi, I'm not sure how gravity should work with PANGO, but I have seen examples with gravity center, I have tried it and it worked well, but when I applied west or east then text in spans with smaller fonts went to top. I have tried with SouthEast but that did not change anything. Could you tell me if ...