Skip to content

Commit

Permalink
Sync commit 6a38ade from HarfBuzz
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebear94 committed Aug 17, 2023
1 parent 00ec212 commit 247e240
Show file tree
Hide file tree
Showing 2 changed files with 263 additions and 349 deletions.
4 changes: 2 additions & 2 deletions src/complex/universal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub mod category {
pub const ZWNJ: u8 = 14; // Zero width non-joiner
// pub const ZWJ: u8 = 15; // Zero width joiner
// pub const WJ: u8 = 16; // Word joiner
// pub const RSV: u8 = 17; // Reserved characters
pub const RSV: u8 = 17; // Reserved characters
pub const R: u8 = 18; // REPHA
pub const S: u8 = 19; // SYM
// pub const SM: u8 = 20; // SYM_MOD
Expand Down Expand Up @@ -123,7 +123,7 @@ const OTHER_FEATURES: &[Tag] = &[
];

impl GlyphInfo {
fn use_category(&self) -> Category {
pub(crate) fn use_category(&self) -> Category {
let v: &[u8; 4] = bytemuck::cast_ref(&self.var2);
v[2]
}
Expand Down
Loading

0 comments on commit 247e240

Please sign in to comment.