ChrisSteinbach / mscgen

Automatically exported from code.google.com/p/mscgen
GNU General Public License v2.0
0 stars 0 forks source link

Font code issues #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi

I noticed some issues with the "font determination" code (in src/main.c)

First, it only displays the "Not compiled with USE_FREETYPE" when it is
actually compiled with said macro.

Secondly, fonts from MSCGEN_FONT is always overwritten due to:
if(envFont && !"room enough in buffer") 
{
   fail();
}
else
{
   "use default font"
}
construct.

I have attached a patch against r103 to fix this.

~Niels

Original issue reported on code.google.com by NThykier@gmail.com on 12 Dec 2009 at 10:23

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r105.

Original comment by Michael....@gmail.com on 3 Jan 2010 at 7:15