Bugzilla – Attachment 61120 Details for
Bug 49486
Hyphenation problem with Graphite 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed fix for hyphenation problem
phyphen_49486.diff (text/plain), 841 bytes, created by
martin_hosken
on 2012-05-07 02:45:03 UTC
(
hide
)
Description:
proposed fix for hyphenation problem
Filename:
MIME Type:
Creator:
martin_hosken
Created:
2012-05-07 02:45:03 UTC
Size:
841 bytes
patch
obsolete
>diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx >index 4edeb9a..dd17062 100644 >--- a/vcl/source/glyphs/graphite_layout.cxx >+++ b/vcl/source/glyphs/graphite_layout.cxx >@@ -715,8 +715,8 @@ int GraphiteLayout::GetTextBreak(long maxmnWidth, long char_extra, int factor) c > if (mvChar2BaseGlyph[i] != -1) > { > if ( >- (mvCharBreaks[i] > -25 || (mvCharBreaks[i-1] > 0 && mvCharBreaks[i-1] < 25)) && >- (mvCharBreaks[i-1] < 25 || (mvCharBreaks[i] < 0 && mvCharBreaks[i] > -25)) >+ (mvCharBreaks[i] > -35 || (mvCharBreaks[i-1] > 0 && mvCharBreaks[i-1] < 35)) && >+ (mvCharBreaks[i-1] < 35 || (mvCharBreaks[i] < 0 && mvCharBreaks[i] > -35)) > ) > { > nLastBreak = static_cast<int>(i);
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 Raw
Actions:
View
Attachments on
bug 49486
: 61120