[Webkit-unassigned] [Bug 12698] New: SVG text needs a special per-character layout mode.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 8 09:19:00 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=12698
Summary: SVG text needs a special per-character layout mode.
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zimmermann at kde.org
To be able to implement mutliple x/y, dx/dy, rotate values properly, SVG text
needs a special layout mode. vertical text & textPath can be built upon that -
once it's done.
Attaching patch, which implements a new hot per-character layout mode.
x/y, dx/dy lists seem to work fine in all combinations.
rotate lists work fine, too.
text seletion is _DISABLED_ for per character layout mode and needs discussion
- not yet sure how to properly implement that. vertical text is not yet "hooked
in" - but you can switch a variable "isVerticalText" in the code to "true" to
actually see vertical text :-)
Another problem is the width/height calculation of our InlineText/Flow boxes:
- rotate changes the size of the boxes - not taken into account yet.
- y lists may enlarge the size of the boxes - not taken into account yet.
(only x lists are handled so far in the patch - see SVGInlineFlowBox)
These size calculations are easy to fix - just don't have time atm.
Please comment.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list