[mapguide][MG233][Modified] Underlined text option not working in AJAX viewer / image ou...
Traian Stanev
traian.stanev at autodesk.com
Tue Apr 18 12:10:52 EDT 2006
You can view the artifact detail at the following URL:
https://mapguide.osgeo.org/servlets/Scarab/id/MG233
Type:
Defect
Artifact ID:
MG233 (Underlined text option not working in AJAX viewer / image output)
Modified by:
Traian Stanev
traianstanev (traian.stanev at autodesk.com)
The following modifications were made to this artifact:
---------------------------------------------------------------------
-- Artifact Status changed:
Old value:
New
New value:
Resolved
-- Resolution set to new value:
Submitted
-- Status Explanation set to new value:
Fixed.
-- Resolution Description set to new value:
This required major changes to font management, since I needed to expose font design metrics to obtain underline information. I simplified the RS_Font structure and added font metric information to it. Changed the font matching APIs to no longer use just a string to identify fonts. Instead, the font object is now passed around all the way down to DrawString.
Having exposed font metrics, I then implemented text underlining for both the simple labels and curved labels, for both the simple and the tiled map label renderers -- a total of 4 similar but different implementations.
Also removed "inline" from a couple of functions in DWFRenderer. Those were confusing the release build on Linux.
Revised the text alignment computation code in both LabelRenderers to use the newly available font metrics instead of guessing about ascenders and descenders.
---------------------------------------------------------------------
This message was automatically generated by Project Tracker.
More information about the Mapguide_issues
mailing list