forked from 1b-agent/opencadstudio-upstream
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:
commit
ecdcc5d2b6
8 files changed
+237
-86
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user