Releases: cool-japan/oxitext
Releases · cool-japan/oxitext
OxiText 0.1.2 Release
[0.1.2] - 2026-06-10
Added
oxitext-raster: full raw CBDT bitmap format support —extract_cbdt_bitmapandrender_cbdt_glyphnow decode all eight rawRasterImageFormatvariants:BitmapMono,BitmapMonoPacked,BitmapGray2,BitmapGray2Packed,BitmapGray4,BitmapGray4Packed,BitmapGray8, andBitmapPremulBgra32. Each format is decoded by a dedicated unpacker function (unpack_mono,unpack_gray2,unpack_gray4,unpack_gray8,unpack_bgra32).oxitext-raster:unpack_*public helper functions — exported for downstream use when raw CBDT pixel data needs to be decoded outside the standard extraction path.pango-sysworkspace dependency —pango-sys = "0.22.0"added to workspace dependencies.
Changed
oxitext-raster:extract_cbdt_bitmapandrender_cbdt_glyphAPI — both functions now always returnSomefor any supported bitmap format rather than falling back toNonefor raw (non-PNG) CBDT entries.
Full Changelog: v0.1.1...v0.1.2
OxiText 0.1.1 Release
[0.1.1] - 2026-06-04
Added
oxitext-icu:fontsfeature +LocaleFontSelector— newfont_selectmodule (behind thefontsCargo feature) providesLocaleFontSelector, a locale-aware font family selector backed by anoxifont-dbFontDatabase. Exposesfamily_for_locale,locale_name_for_locale,query_family,families_for_locale, andbatch_resolvefor BCP-47 locale → font family resolution with CJK/RTL-aware CSS-Level-4 generic mapping.oxitext-shape:native-fallbackfeature +native_fallbackmodule — new feature gate re-exportsoxifont_adapter_native::shaper_bridgefor OS-native font fallback (CoreText on macOS, DirectWrite on Windows, filesystem scan on Linux). Exposescollect_fallback_fonts_for_text,collect_fonts_for_text,find_native_font_for_codepoint,load_best_native_font_for_text, andload_native_font_for_codepoint_with_index.oxitext:font-subsetfeature +pdf_subsetmodule — new module withTextFontSubsetter, a streaming accumulator for on-the-fly font subsetting during PDF composition. Wrapsoxifont_subset::pdf_subset::PdfFontSubsetterwith ergonomicfeed_text,feed_char,feed_gid,feed_gids,merge,finalize,finalize_into_result, andresetmethods; includes PDF and web presets (for_pdf,for_web). Re-exportsPdfSubsetResult,SubsetError,SubsetOptions, andSubsetStats.oxifont-bundleddev-dependency —oxifont-bundled(withbundled-notofeature) added as a workspace-level dep and as a dev-dependency inoxitext,oxitext-raster, enabling all integration tests to use the statically embedded Noto Sans Regular.oxifont-subsetandoxifont-adapter-nativeworkspace deps —oxifont-subsetandoxifont-adapter-nativeadded to workspace dependencies to back the newfont-subsetandnative-fallbackfeatures.
Changed
- Test determinism: system-font panics replaced with
oxifont-bundledfallback — all integration and bench tests inoxitext,oxitext-raster, andoxitext-shapepreviously panicked when system fonts were absent. They now fall back tooxifont_bundled::NOTO_SANS_REGULAR, ensuring reproducible CI results without hardcoded absolute font paths. oxitext-shape:system-fontsdep alignment —oxifontoptional dep entry reformatted alongside newoxifont-adapter-nativedep for consistency.
Full Changelog: v0.1.0...v0.1.1