ASF Bugzilla – Attachment 24006 Details for
Bug 44531
[PATCH] underline-position in font-face has wrong sign
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from proposal
Batik-Bug44531-ProposedFix.patch (text/plain), 962 bytes, created by
Helder Magalhães
on 2009-07-19 15:57:36 UTC
(
hide
)
Description:
Patch from proposal
Filename:
MIME Type:
Creator:
Helder Magalhães
Created:
2009-07-19 15:57:36 UTC
Size:
962 bytes
patch
obsolete
>Index: sources/org/apache/batik/bridge/SVGGVTFont.java >=================================================================== >--- sources/org/apache/batik/bridge/SVGGVTFont.java (revision 795615) >+++ sources/org/apache/batik/bridge/SVGGVTFont.java (working copy) >@@ -739,12 +739,11 @@ > > float stOffset = fontFace.getStrikethroughPosition() * -scale; > float stThickness = fontFace.getStrikethroughThickness() * scale; >- float ulOffset = fontFace.getUnderlinePosition() * scale; >+ float ulOffset = fontFace.getUnderlinePosition() * -scale; > float ulThickness = fontFace.getUnderlineThickness() * scale; > float olOffset = fontFace.getOverlinePosition() * -scale; > float olThickness = fontFace.getOverlineThickness() * scale; > >- > lineMetrics = new GVTLineMetrics > (ascent, Font.ROMAN_BASELINE, baselineOffsets, descent, > fontHeight, fontHeight, limit-beginIndex,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44531
:
21625
| 24006