Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #15403

#15403Reproducing · with vast-tw

Font character not working on Mac 2.4.2 and 2.5.0

Agent answer

The bug is in the cross-platform emboss text code that uses stb_truetype to look up glyphs. On macOS, WxFontUtils::create_font_file (WxFontUtils.cpp:97-104) loads the OTF file path and passes raw bytes to Emboss::create_font_file → stbtt_FindGlyphIndex. The same code runs on Linux (WxFontUtils.cpp:105-112). The failure to find "3" (U+0033) and "I" (U+0049) is a cmap parsing issue in the bundled stb_truetype, not macOS-specific. Reproducible on Linux with the same OTF font file loaded via the emboss gizmo.

Cause

stbtt_FindGlyphIndex (deps_src/imgui/imstb_truetype.h:1470) returns 0 for certain codepoints in the "Natural Coffee" OTF's cmap subtable. The Emboss.cpp:1691 filter then strips these characters, and ImGui's preview shows .notdef boxes instead.

Triage summary

stbtt_FindGlyphIndex fails to find glyphs for "3" and "I" in the "Natural Coffee" OTF font, causing them to render as boxes in the emboss text preview. The bug is in the shared stb_truetype cmap code path (Emboss.cpp:1691, imstb_truetype.h:1470), identical on all platforms.

Issue text on GitHub

Is this issue reproducible in the latest nightly build?

  • [x] I have checked the latest nightly build and the issue is still reproducible

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

OrcaSlicer Version

2.4.2, 2.5.0 dev

Regression compared to a previous version

No response

Operating System (OS)

macOS

OS Version

macOS 26.6.2 (25G83)

Additional system information

M4 Pro
24 GB RAM

Printer

U1

How to reproduce

https://github.com/Snapmaker/OrcaSlicer/issues/785

  1. Add Text
  2. Choose font "Natural Coffee"
  3. Type "3I"
  4. Shows a box instead of the characters 3 and capital I

Actual results

Shows a box instead of the characters 3 and capital I

Expected results

Should be the characters "3" and "I"

Project file & Debug log uploads

Embossed text - font issue - Natural Coffee 2.5.0 nightly build.3mf.zip
logs.zip

Natural Coffee.otf.zip

Checklist of files to include

  • [x] Log file
  • [x] Project file

Anything else?

Image
Area
gui
Platform
all
Author
twdlup
Comments
2
Created
2026-08-27
bugstale

Log

  1. vast-tw took it: reproduce
    vast-tw · 18 min ago
  2. Worker restarting; back in the queue
    vast-tw · 18 min ago
  3. vast-tw took it: reproduce
    vast-tw · 1 h ago
  4. Worker restarting; back in the queue
    vast-tw · 1 h ago
  5. vast-tw took it: reproduce
    vast-tw · 1 h ago
  6. vast-tw restarted; returned to the queue
    vast-tw · 1 h ago
  7. vast-tw took it: reproduce
    vast-tw · 1 h ago
  8. triage: triaged
    vast-tw · 1 h ago
  9. vast-tw took it: triage
    vast-tw · 1 h ago
  10. Collected from GitHub
    panel · 3 h ago
vast-tw is reproducing this issue, since 18 min ago.