Skip to content

Rendering Improvements#3

Open
numa-smells wants to merge 3 commits intoAdrianGjonca:mainfrom
numa-smells:main
Open

Rendering Improvements#3
numa-smells wants to merge 3 commits intoAdrianGjonca:mainfrom
numa-smells:main

Conversation

@numa-smells
Copy link

Hello! I've been using the original project recently (ver. 1.5.2) and stumbled upon this one. This is my first time coding for a DS project so hopefully everything isn't too poorly written haha.

I wanted to try improving text rendering, namely:

  • fix bitmap to use pitch rather than width for y offset.
  • pen position now use the full 24.6 bit representation for more accuracy.
  • use kerning.
  • use LCD subpixel rendering for BGR displays. (still need to test on my DS lite if it actually helps)

These changes were tested on my 2DS XL running through TWiLight Menu++ and works with no issues

+ fix bitmap to use pitch for width offset
+ enhance render to use LCD subpixeling
+ pen position now use the full 24.6 bit representation for more accuracy
@numa-smells
Copy link
Author

numa-smells commented Jan 22, 2026

just found out the DS lcd pattern is horizontally oriented while it seems to be vertically oriented on the 3ds...

edit:
testing it now with the vertical LCD subpixel rendering and it does help visually. Here it is on the demo booklet. The serif on the R appears a lot lighter.
image

I'm using light hinting as well.
For some reason it does freeze up on my DS but not on the 3DS randomly at some point when I turn the page. Oh well ultimately ill be reading more on the 3DS since its a bigger screen, but I'll update my code in this merge request with the DS in mind

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.

1 participant