aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/text
diff options
context:
space:
mode:
authorPatrick Trottier <patrick.arrow206@outlook.com>2016-08-13 13:43:45 -0400
committerPatrick Trottier <patrick.arrow206@outlook.com>2016-08-14 11:19:29 -0400
commitdd7daf2861c3e0678dde205a2cd2b86b6d47f900 (patch)
tree25381fa2bf43836920318b66dc1989f448fce9ba /components/gfx/text
parent78160bf3f967ad34c671fe953de578bfa0b9542b (diff)
downloadservo-dd7daf2861c3e0678dde205a2cd2b86b6d47f900.tar.gz
servo-dd7daf2861c3e0678dde205a2cd2b86b6d47f900.zip
Fix GFX Warnings
Corrections to GFX Warnings Fix
Diffstat (limited to 'components/gfx/text')
-rw-r--r--components/gfx/text/glyph.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/text/glyph.rs b/components/gfx/text/glyph.rs
index 9e5e7cf732e..26b5a5a0ed2 100644
--- a/components/gfx/text/glyph.rs
+++ b/components/gfx/text/glyph.rs
@@ -22,7 +22,7 @@ pub use gfx_traits::ByteIndex;
/// glyph offsets), we pack the glyph count into GlyphEntry, and store the other glyph information
/// in DetailedGlyphStore.
#[derive(Clone, Debug, Copy, Deserialize, Serialize, PartialEq)]
-struct GlyphEntry {
+pub struct GlyphEntry {
value: u32,
}
@@ -103,7 +103,7 @@ fn is_simple_advance(advance: Au) -> bool {
}
}
-type DetailedGlyphCount = u16;
+pub type DetailedGlyphCount = u16;
// Getters and setters for GlyphEntry. Setter methods are functional,
// because GlyphEntry is immutable and only a u32 in size.