Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Pierre Haessig
Hi Thomas, Le 27/02/2013 20:59, Thomas Sprinzing a écrit : To sum it up: use the old 7-bit equivalent for the degree sign, not any fancydancy UTF-8 character that is commonly not included in ye olde style postscript standard font embedded into your laser printer wy back then in the

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Gökhan Sever
Okay, fair enough. But do you have any ideas, how to force the PS creator to use a different font? Say - font Times-Bold On Wed, Feb 27, 2013 at 12:59 PM, Thomas Sprinzing sprinz...@hdm-stuttgart.de wrote: I'd say it's got nearly nothing to do with matplotlib. The question is: will the

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-28 Thread Thomas Sprinzing
Am 28.02.2013 um 14:31 schrieb Pierre Haessig: Hi Thomas, Le 27/02/2013 20:59, Thomas Sprinzing a écrit : To sum it up: use the old 7-bit equivalent for the degree sign, not any fancydancy UTF-8 character that is commonly not included in ye olde style postscript standard font embedded

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-27 Thread Thomas Sprinzing
I'd say it's got nearly nothing to do with matplotlib. The question is: will the font be included in the .ps and in the .pdf? If not, which is most likely, it's upon the renderer to decide what to do if the requested glyph in the requested font is present or not in the system. pdf is more

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-26 Thread Gökhan Sever
On Mon, Feb 25, 2013 at 11:00 PM, Ryan Nelson rnelsonc...@gmail.com wrote: On 2/25/2013 9:29 PM, Gökhan Sever wrote: Hello, For some reason, I can't get the degree sign showing up in my ps output: Here is the simple test code: fp = plt.figure(figsize=(8.5, 11)) fp.text(0.5, 0.5,

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-26 Thread Pierre Haessig
Hi, Le 26/02/2013 12:38, Gökhan Sever a écrit : fp = plt.figure(figsize=(8.5, 11)) fp.text(0.5, 0.5, uTemperature, \u00B0C, color='black', fontsize=16) plt.savefig('test.ps http://test.ps', papertype='letter') plt.savefig('test.pdf', papertype='letter') Just a thought.

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-26 Thread Gökhan Sever
On Tue, Feb 26, 2013 at 6:02 AM, Pierre Haessig pierre.haes...@crans.orgwrote: Hi, Le 26/02/2013 12:38, Gökhan Sever a écrit : fp = plt.figure(figsize=(8.5, 11)) fp.text(0.5, 0.5, uTemperature, \u00B0C, color='black', fontsize=16) plt.savefig('test.ps', papertype='letter')

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-26 Thread Pierre Haessig
Le 26/02/2013 14:38, Gökhan Sever a écrit : Could you test my outputs if they look fine on your side? http://atmos.uwyo.edu/~gsever/data/matplotlib/test.pdf http://atmos.uwyo.edu/%7Egsever/data/matplotlib/test.pdf http://atmos.uwyo.edu/~gsever/data/matplotlib/test.ps

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-26 Thread Gökhan Sever
On Tue, Feb 26, 2013 at 8:29 AM, Pierre Haessig pierre.haes...@crans.orgwrote: Le 26/02/2013 14:38, Gökhan Sever a écrit : Could you test my outputs if they look fine on your side? http://atmos.uwyo.edu/~gsever/data/matplotlib/test.pdf

[Matplotlib-users] Unicode characters in PS output

2013-02-25 Thread Gökhan Sever
Hello, For some reason, I can't get the degree sign showing up in my ps output: Here is the simple test code: fp = plt.figure(figsize=(8.5, 11)) fp.text(0.5, 0.5, uTemperature, ⁰C, color='black', fontsize=16) plt.savefig('test.ps', papertype='letter') plt.savefig('test.pdf', papertype='letter')

Re: [Matplotlib-users] Unicode characters in PS output

2013-02-25 Thread Ryan Nelson
On 2/25/2013 9:29 PM, Gökhan Sever wrote: Hello, For some reason, I can't get the degree sign showing up in my ps output: Here is the simple test code: fp = plt.figure(figsize=(8.5, 11)) fp.text(0.5, 0.5, uTemperature, ^(0)C, color='black', fontsize=16) plt.savefig('test.ps http://test.ps',