[gradsusr] Font issue
Jennifer M Adams
jadams21 at gmu.edu
Fri Mar 18 18:38:53 EDT 2016
Just use Hershey fonts and you'll be fine.
--Jennifer (via mobile)
On Mar 18, 2016, at 6:14 PM, Thomas Davies <tsd.davies at gmail.com<mailto:tsd.davies at gmail.com>> wrote:
I'm on Windows so I am limited to OpenGrADS, do you know if the latest version (i think 2.0.2.oga2) avoids this issue? Right now I have 2.1.a2.oga1
On Fri, Mar 18, 2016 at 7:47 PM, Jennifer M Adams <jadams21 at gmu.edu<mailto:jadams21 at gmu.edu>> wrote:
Well, that is probably related to a bug that was fixed in version 2.1.a3, the one related to 'unnecessary re-initialization of font files'. Try it with COLA's build of the latest version and see if that fixes it.
--Jennifer
On Mar 18, 2016, at 1:41 PM, Thomas Davies <tsd.davies at gmail.com<mailto:tsd.davies at gmail.com>> wrote:
Thanks for the reply.
I have just tried using the full path, however when plotting a grid full of values it stops using the font halfway up? e.g.
<fonterror.png>
And in the command line
Error: Unable to open font file "C:\opengrads2\Contents\Cygwin\Versions\2.1.a2.oga.1\i686\Vera.ttf"
Will use a default "sans-serif" font instead
Fontconfig error: Cannot load default config file
This means it doesn't output the image via gxprint
On Fri, Mar 18, 2016 at 12:15 PM, Jennifer M Adams <jadams21 at gmu.edu<mailto:jadams21 at gmu.edu>> wrote:
The 'unable to open file' message means exactly that: it can't find "Vera.ttf". Try using a full path in front of the filename. The Fontconfig error is message is harmless, but it comes from the library not GrADS so I can't suppress it.
-Jennifer
On Mar 17, 2016, at 6:19 PM, Thomas Davies <tsd.davies at gmail.com<mailto:tsd.davies at gmail.com>> wrote:
Hi,
I have an annoying problem when I try defining a new font. I can draw strings without issue, however if I were to display a grid full of values with that font it would display this error message:
Error: Unable to open font file "Vera.ttf"
Will use a default "sans-serif" font instead
Fontconfig error: Cannot load default config file
I have tried numerous other fonts and the same problem occurs. I have also tried reinstalling OpenGrADS but have had no luck. Does anybody know why this is happening and how to fix it?
Thanks in advance.
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160318/baba0f01/attachment-0001.html
More information about the gradsusr
mailing list