Menu

#2052 label problem with pdfcairo

None
open-duplicate
nobody
None
2018-08-26
2018-06-04
Anonymous
No

When i execute the following line in gnuplot Version 5.2 patchlevel 3 on artixlinux there is a problem in the ylabel string. When i execute it for second time it generates the file properly. (bad file attached)
set term pdf;set yla "Mean of collected charge distribution [au]";set o "/tmp/test.pdf"; p x; set o

1 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2018-06-04

    That is truly weird. The order of the letters in "charge" was altered?! I can't reproduce it here and I do not recall any similar reports in the past.

    I assume this is the pdfcairo terminal and not the semi-proprietary PDFlib terminal? Can you tell us the version of your cairo libraries , your pango libraries, and your freetype libraries?

     
  • Georgi Georgiev

    Georgi Georgiev - 2018-06-04

    Right, i am using pdfcairo terminal.
    Here are the versions of the libs:
    cairo 1.15.12
    pango 1.42.1
    freetype2 2.9.1

    When the very same line is executed for second time without restarting gnuplot the generated pdf is good. I couldn't reproduce the problem with different string, which is even more strange.

     
  • Sait Umar

    Sait Umar - 2018-08-07

    I can confirm a similar behavior with ylabel. It seems to happen in my case if the first letter is a Y and the next a lowercase. I am attaching a test file to see but the problem happens in other plot files too.

     
  • Sait Umar

    Sait Umar - 2018-08-07

    Here is my output!

     
  • Ethan Merritt

    Ethan Merritt - 2018-08-11
    • status: open --> open-duplicate
    • Group: -->
    • Priority: -->
     
  • Ethan Merritt

    Ethan Merritt - 2018-08-11

    Associating this with #2048

     
  • Sait Umar

    Sait Umar - 2018-08-26

    After some experimenting I find that fonts Times, Times-Roman, Helvetica etc work fine without this problem but if I choose Times-New-Roman or Arial etc the problem occurs.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.