Skip to content

Added Georgian font support and fixed NDK 29 build#18

Merged
MisterGatto merged 1 commit intoskyprotocol:osp-masterfrom
HugeFrog24:osp-master
Mar 17, 2026
Merged

Added Georgian font support and fixed NDK 29 build#18
MisterGatto merged 1 commit intoskyprotocol:osp-masterfrom
HugeFrog24:osp-master

Conversation

@HugeFrog24
Copy link
Copy Markdown
Contributor

My friend wanted to use the mod in Georgian.
Canvas didn't render the glyphs.
Fixed that, and bumped the NDK while at it.

Changes

  • Georgian glyphs: Merge NotoSansGeorgian into the ImGui font atlas (U+10A0-10FF). Tries multiple font paths so it works across Android versions.
  • NDK 29: Bump ndkVersion to match current SDK.
  • PAGE_SIZE: Replaced removed <sys/user.h> with a sysconf define for NDK 29 compat.

Test

  • Clean build, no warnings.
  • Runtime verified on OnePlus 13
  • Georgian renders correctly in mod UI.

Screenshot

CanvasGeorgian-OP13

- Bump ndkVersion to 29.0.14206865 to match installed NDK
- Fix PAGE_SIZE build error in artpatch.c: macro was removed from NDK 29
  public headers; replaced <sys/user.h> with a sysconf(_SC_PAGESIZE) define
- Add Georgian (Mkhedruli, U+10A0-10FF) glyph range to ImGui font atlas by
  merging NotoSansGeorgian from Android system fonts; tries VF/static/fallback
  candidates in order so it works across Android versions
@MisterGatto MisterGatto merged commit 00abe7b into skyprotocol:osp-master Mar 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants