Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1055

Summary: Improve TextWidth in GDIPlus
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: CanvasAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15336
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: test TextWidth

Description yeray alonso 2014-12-22 03:37:39 EST
Created attachment 365 [details]
test TextWidth

The project attached shows TextWidth function doesn't give the exact width of the given text.

A customer in the forums suggests us to use this technique:
http://www.codeproject.com/Articles/2118/Bypass-Graphics-MeasureString-limitations

An approach (that could be the equivalent to the above) using "typographic" parameter in TextWidth/InternalTextWidth functions is currently under development.