Skip to content

[WIP]: Refractor layout and render system - #56

Draft
Windorain wants to merge 6 commits into
GTNewHorizons:masterfrom
Windorain:refractor-layout-and-render-system
Draft

Windorain wants to merge 6 commits into
GTNewHorizons:masterfrom
Windorain:refractor-layout-and-render-system

Conversation

@Windorain

@Windorain Windorain commented Aug 7, 2026 •

Copy link
Copy Markdown

Summary

Refactor the layout and rendering system to provide a better visual experience
Provide headless rendering functionality for AI workflows and automated testing

Todo

  • Incorrect LaTeX baseline and font size
  • Incorrect italic kerning
  • Mermaid jitter issue when zooming
  • Incorrect rasterization of underline dots and wavy line effects
  • Monospaced font support for code blocks
  • Settings page for configuring custom fonts
  • Merge other PRs to catch up on progress
  • Rewrite the doc documentation to support proper formatting
  • Clean up redundant files

Checklist

  • I have tested this PR in DevEnv
  • I have tested this PR in Fullpack
  • This PR is in compliance with the GTNH AI Policy
  • This PR requires another PR in order to merge

@Windorain
Windorain marked this pull request as draft August 7, 2026 16:08
@Windorain Windorain changed the title Refractor layout and render system [WIP]: Refractor layout and render system Aug 7, 2026
@ABKQPO ABKQPO added the Ongoing Freeze - Do NOT Merge For PRs submitted close to a release that must wait for the next dev cycle to merge. label Aug 13, 2026
@Windorain
Windorain force-pushed the refractor-layout-and-render-system branch from 132886b to 27a3ee6 Compare October 6, 2026 14:14
Add the copyRustNative Gradle task that copies the built layout-engine
library into the resources tree during processResources, skipping cleanly
when the library has not been built. Resolve the cargo target directory
through a documented chain (gradle property, environment variable, local
cargo config, in-tree default) instead of any machine-local path. Remove
the dead runGlyphTest/runParleySmoke tasks and make the flatc regeneration
script resolve its toolchain the same way.
Move the layout engine crate from the repository root to
src/rust/layout-engine. No source changes beyond comment conventions.
Fixture resource pack, bounds assertion ratchet, and Python inspection
tooling under test/visual/, plus the JUnit suites under src/test/.
Fixture prose is English; CJK payload sections are intentional render
test material.
Follow upstream on src/test tracking, profileconfig.json and
web-editor/node_modules; keep the rust crate, visual tooling, and
build-time natives entries.
@Windorain
Windorain force-pushed the refractor-layout-and-render-system branch from 27a3ee6 to 88e449d Compare October 6, 2026 14:35

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ongoing Freeze - Do NOT Merge For PRs submitted close to a release that must wait for the next dev cycle to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants