Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 917005 Details for
Bug 998812
gedit segfaults when loading a certain file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
fix this bug
harfbuzz-0.9.20-fix-graphite2.patch (text/plain), 1.38 KB, created by
Parag Nemade
on 2014-07-10 07:50:16 UTC
(
hide
)
Description:
fix this bug
Filename:
MIME Type:
Creator:
Parag Nemade
Created:
2014-07-10 07:50:16 UTC
Size:
1.38 KB
patch
obsolete
>diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc >index a309ca8..709aa94 100644 >--- a/src/hb-graphite2.cc >+++ b/src/hb-graphite2.cc >@@ -209,6 +209,7 @@ struct hb_graphite2_cluster_t { > unsigned int num_chars; > unsigned int base_glyph; > unsigned int num_glyphs; >+ unsigned int cluster; > }; > > hb_bool_t >@@ -299,6 +300,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan, > memset (clusters, 0, sizeof (clusters[0]) * buffer->len); > > hb_codepoint_t *pg = gids; >+ clusters[0].cluster = buffer->info[0].cluster; > for (is = gr_seg_first_slot (seg), ic = 0; is; is = gr_slot_next_in_segment (is), ic++) > { > unsigned int before = gr_slot_before (is); >@@ -316,6 +318,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan, > { > hb_graphite2_cluster_t *c = clusters + ci + 1; > c->base_char = clusters[ci].base_char + clusters[ci].num_chars; >+ c->cluster = buffer->info[c->base_char].cluster; > c->num_chars = before - c->base_char; > c->base_glyph = ic; > c->num_glyphs = 0; >@@ -335,7 +338,7 @@ _hb_graphite2_shape (hb_shape_plan_t *shape_plan, > { > hb_glyph_info_t *info = &buffer->info[clusters[i].base_glyph + j]; > info->codepoint = gids[clusters[i].base_glyph + j]; >- info->cluster = gr_cinfo_base(gr_seg_cinfo(seg, clusters[i].base_char)); >+ info->cluster = clusters[i].cluster; > } > } > buffer->len = glyph_count;
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 998812
: 917005