Merge pull request #1838 from ramox81/codex/pdf-shx-text-followups

PDFSHXTEXT: reference text grouping, object share and wider character set
This commit is contained in:
Hakan Seven committed 2026-10-16 22:40:02 +03:00
commit ecdcc5d2b6
8 files changed
+237 -86

No files matched your search

+5 -2
View File
@@ -75,10 +75,13 @@ impl ShxSettingsState {
let Some(font) = self.settings.fonts.get(self.selected) else {
return;
};
let spec = crate::modules::insert::pdf_shx_text::resolve_font(
// A font that is not available has nothing to show.
let Some(spec) = crate::modules::insert::pdf_shx_text::resolve_font(
&font.name,
self.drawing.as_deref(),
);
) else {
return;
};
let (strokes, _) = crate::scene::text::lff::tessellate_text_ex(
[0.0, 0.0],
9.0,