#34 accented characters 2

closed
None
5
2004-10-31
2004-08-19
Anonymous
No

a read section 4.11 about accented characters in
gnuplot FAQs.
i want to ask if that working with png terminal type too.
because i want to use iso_8859_2 encoding and
characters are still the same as in iso_8859_1.
where i make error? or where can be error?
i use gnuplot 4.0.0 with slackware 9.1
thanks for answer

email: tyctor@post.cz

Discussion

  • Hans-Bernhard Broeker

    Logged In: YES
    user_id=27517

    Which PNG terminal are you using? Do you have libfreetype
    and libgd, and have you configured them so gnuplot can find
    fonts for Latin-2?

     
  • Ethan Merritt

    Ethan Merritt - 2004-08-20

    Logged In: YES
    user_id=235620

    This is a limitation of the libgd library that gnuplot uses
    for creating PNG and JPEG images. libgd does not currently
    have any real notion of character encoding. If you specify
    a font whose primary encoding is Latin-2 (if there is such
    a font) then it will work, but there is currently no way to
    tell libgd to look for Latin-2 in the font's list of
    alternate encodings.

    Sorry, but it's not really fixable inside gnuplot. We can
    only hope that future versions of libgd are more aware of
    font encodings. If someone were to code this up and submit
    as a patch to libgd it would probably be accepted, but
    that's a little outside the scope of gnuplot development per
    se. The bright side of this is that if a suitable version
    of libgd is forthcoming, we may not need any changes to
    gnuplot in order for things to work correctly.

     
  • Nobody/Anonymous

    Logged In: NO

    thanks very much for answer.
    i am going to look for some libgd patch for it...

     
  • Hans-Bernhard Broeker

    • assigned_to: nobody --> sfeam
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks