feat(pdftract-3g6ne): export codespace module from font
The codespace range parser was already implemented in font/codespace.rs. This commit exports the module and its public types (CodespaceRange, CodespaceRanges, parse_codespace_ranges, parse_codespace_ranges_with_diags) from font/mod.rs so they can be used by the CMap tokenizer sibling bead. Related: pdftract-3g6ne (codespace range parser)
This commit is contained in:
parent
d5e320cc73
commit
54ddb4cab7
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
pub mod agl;
|
||||
pub mod cmap;
|
||||
pub mod codespace;
|
||||
pub mod embedded;
|
||||
pub mod encoding;
|
||||
pub mod fingerprint;
|
||||
|
|
@ -21,6 +22,7 @@ pub mod cjk_encoding;
|
|||
|
||||
pub use agl::{unicode_for_glyph_name, unicode_for_glyph_name_multi};
|
||||
pub use cmap::{parse_to_unicode, parse_to_unicode_with_diags, ToUnicodeMap};
|
||||
pub use codespace::{parse_codespace_ranges, parse_codespace_ranges_with_diags, CodespaceRange, CodespaceRanges};
|
||||
pub use embedded::{EmbeddedFont, EmptyFontMetrics, FontMetrics, GlyphBbox};
|
||||
pub use encoding::{DifferencesOverlay, FontEncoding, NamedEncoding};
|
||||
pub use fingerprint::{lookup_font_fingerprint, CachedFingerprint, FontFingerprint};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue