Closed
Bug 496989
Opened 16 years ago
Closed 16 years ago
Simplify text/glyph interface
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
People
(Reporter: longsonr, Assigned: longsonr)
References
Details
Attachments
(1 file)
14.78 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
Second step towards bug 388547 (bug 406312 was the first).
Makes dominant baseline work on each fragment.
Attachment #382203 -
Flags: review?(jwatt)
![]() |
||
Updated•16 years ago
|
Attachment #382203 -
Flags: review?(jwatt) → review+
![]() |
||
Comment 1•16 years ago
|
||
Comment on attachment 382203 [details] [diff] [review]
patch
r=jwatt
>+nsSVGGlyphFrame::GetSubStringAdvance(PRUint32 charnum,
>+ PRUint32 fragmentChars)
>+{
>+ if (fragmentChars == 0)
>+ return 0.0f;
>+
>+ gfxFloat advance = mTextRun->GetAdvanceWidth(charnum, fragmentChars, nsnull);
>+ return float(advance);
Not sure why you need the variable 'advance' here.
Assignee | ||
Comment 2•16 years ago
|
||
Lots of new code is going to go in between the gfxFloat advance and the return in the next patch in this exciting series.
Assignee | ||
Comment 3•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•