bugPanda PDF Generation API - Bugs: bug #10372, panda_getfontmetric error


bug #10372: panda_getfontmetric error

Submitted by:  None
Submitted on:  Mon 13 Sep 2004 01:26:30 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 13 Sep 2004 01:26:30 PM UTC, original submission:  

In panda_getfontmetric function, one line says:
fontmetric = fontmetric++;

There is a bug in gcc<=3.3.1, so the statmeent works. Otherwise, it's an endless loop, because, in this case ++ is a postfix operator. To correct this, the line must be changed to:
fontmetrics = ++fontmetrics, or just fontmetrics++



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.5