Converting Hebrew font to image looks like GIBBERISH

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Converting Hebrew font to image looks like GIBBERISH

Post by anthony »

It means it probably did not find the pango development package (the headers to the pango libraries). These are only needed when compiling a program that will use the library.

Once build the headers are no longer needed, whcih is why they are typically not installed on most user oriented systems.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
hezhez
Posts: 12
Joined: 2012-04-30T10:58:44-07:00
Authentication code: 13

Re: Converting Hebrew font to image looks like GIBBERISH

Post by hezhez »

anthony wrote:It means it probably did not find the pango development package (the headers to the pango libraries). These are only needed when compiling a program that will use the library.

Once build the headers are no longer needed, whcih is why they are typically not installed on most user oriented systems.
Ok,

So what do i need to do ? how to i access the PANGO via header ?

BR,
Hezi
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Converting Hebrew font to image looks like GIBBERISH

Post by anthony »

You just need to install the pango development package.

You may need to tell "configure" where they are (CFLAG options) if you are manually adding pango to your system.
When configure can see (and test) the header, it will set up the software to use them when you compile.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
hezhez
Posts: 12
Joined: 2012-04-30T10:58:44-07:00
Authentication code: 13

Re: Converting Hebrew font to image looks like GIBBERISH

Post by hezhez »

anthony wrote:You just need to install the pango development package.

You may need to tell "configure" where they are (CFLAG options) if you are manually adding pango to your system.
When configure can see (and test) the header, it will set up the software to use them when you compile.
Hi,

I installed IM from scratch and pango , both are installed correctly - but ... now when i'm trying to use pango to convert i get this output:
(process:8096): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1 char 15: Invalid UTF-8 encoded text in name - not valid '\xf0\xe9\xf1\xe9\xe5\xef'
convert: Error on line 1 char 15: Invalid UTF-8 encoded text in name - not valid 'ניסיון' `ניסיון' @ error/pango.c/ReadPANGOImage/339.
convert: no pixels defined in cache `ניסיון' @ error/cache.c/OpenPixelCache/3986.

Any ideas ?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Converting Hebrew font to image looks like GIBBERISH

Post by anthony »

Nope. I'll pass it on.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Converting Hebrew font to image looks like GIBBERISH

Post by magick »

What is the exact convert command line you are using? We need to reproduce the problem before we can comment.
Post Reply