Menu

#2826 Part of letters missing from ylabel/y2label

None
closed-duplicate
nobody
None
4 days ago
5 days ago
No

Hello,

this issue is not limited to 6.0.3 and can be observed in earlier versions.
It may be limited to Windows, though. My terminal settings are "wxt 0 enhanced".

If I run these commands:

set ylabel 'HHH III MMM NNN' font ",10"
set y2label 'HHH III MMM NNN' font "\",10\""
plot x

I get the result as reproduced in the attached screenshot. As you can see, parts of the letters of ylabel are missing.

I wonder why this is.

Note that I can somehow "work-around" this issue by putting the size option into additional quotes, see y2label in the screenshot.

Thanks.
Daniel

PS: This issue has been reported on SO earlier.

1 Attachments

Discussion

  • Daniel Dan K.

    Daniel Dan K. - 5 days ago
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,7 @@
     Hello,
    
     this issue is not limited to 6.0.3 and can be observed in earlier versions.
    -It may be limited to Windows, though.
    +It may be limited to Windows, though. My terminal settings are "wxt 0 enhanced".
    
     If I run these commands:
    
    @@ -11,13 +11,15 @@
     plot x
     ~~~
    
    -I get the following result, screenshot is attached. As you can see, parts of the letters of **ylabel** are missing.
    +I get the result as reproduced in the attached screenshot. As you can see, parts of the letters of **ylabel** are missing.
    
    -I can somehow "work-around" this issue by putting the size option into additional quotes, see **y2label**. The y2label is printed fine.
    +I wonder why this is.
    
    -I wonder why this is? Any idea how to fix this?
    +Note that I can somehow "work-around" this issue by putting the size option into additional quotes, see y2label in the screenshot.
    +
    +
     Thanks.
     Daniel
    
    
    -PS: This issue has been reported on SO earlier.
    +PS: This issue has been reported on [SO](https://stackoverflow.com/questions/50466261/part-of-capital-letter-n-is-missing-in-ylabel-in-pngcairo-format-in-gnuplot) earlier.
    
    • Group: -->
    • Priority: -->
     
  • Tatsuro MATSUOKA

    It may be related to the below
    https://sourceforge.net/p/gnuplot/bugs/2397/
    If I set the environment variable PANGOCAIRO_BACKEND=fc (fontconfig) it seems to be better.

     

    Last edit: Tatsuro MATSUOKA 4 days ago
    • Daniel Dan K.

      Daniel Dan K. - 4 days ago

      Thanks, setting this environment variable fixes this issue for me. 👍

       
  • Ethan Merritt

    Ethan Merritt - 4 days ago
    • status: open --> closed-duplicate
     

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.