Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Some text rendered in "italics" style is clipped on right edge | ||||||
---|---|---|---|---|---|---|---|
Product: | Draw | Reporter: | 7kaltoid <dthompson> | ||||
Component: | editing | Assignee: | AOO issues mailing list <issues> | ||||
Status: | CONFIRMED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | OOO 2.0 Beta2 | ||||||
Target Milestone: | AOO Later | ||||||
Hardware: | PC | ||||||
OS: | Windows, all | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
7kaltoid
2005-10-14 16:43:03 UTC
Created attachment 30443 [details]
Example of cropping font when rendering in italics
(Forgot comments can't be added to attachments.) To see the problem, highlight the text "RuidosoBuilders.com" from within Draw. If the typeface is "Impact" and Italic style is selected, the top right of the "m" is cropped to be even with the bottom right of that letter. Now, change the typeface to one that does have an included Italics style. Arial is one such typeface. Note that now the rendering area extends to the right of the entire last character. Exporting the file to one of the bitmap formats (jpg, png) reduces but does not eliminate the amount of cropping. Saving as PDF eliminates the cropping, but that format cannot be rendered as part of an html document. Reproducible. Reassigned. Who's is this? Can you take a look at it? Only on windows. HDU->FME: Use GetTextBoundRect() instead of GetTextWidth() to get the physical width of the text as opposed to the logical advance width. The difference between real and synthetic italic fonts regarding this behaviour is that the real italic fonts have adjusted left-side/right-side bearings. . |