Skip to content

Conversation

@sshane
Copy link
Contributor

@sshane sshane commented Sep 24, 2025

made the combined font with

fontforge -lang=py -c 'import fontforge; f=fontforge.open("/home/batman/openpilot/selfdrive/assets/fonts/Inter-Regular.ttf"); f.m
ergeFonts("/home/batman/openpilot/selfdrive/assets/fonts/NotoSansJP-Regular.ttf"); f.familyname="Openpilot Sans"; f.fullname="Openpilot Sans Regular"; f.fontname="OpenpilotSans-Regular"; f.generate("/home/batman/openpilot/selfdrive/assets/fonts/OpenpilotSans-Regular.ttf")'

@github-actions github-actions bot added the ui label Sep 25, 2025
rl.draw_rectangle_rounded(self.update_notif_rect, 0.3, 10, highlight_color)

text = "UPDATE"
text = tr("UPDATE")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we auto wrap everything? that’d be a huge upgrade from qt

Copy link
Contributor Author

@sshane sshane Sep 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can wrap rl.draw_text, but you'd need to programmatically explore all parts of the UI to create/update the translations. And doesn't handle dynamic text mixed with static text, plurals, etc.

@sshane sshane marked this pull request as draft September 25, 2025 04:07
@github-actions
Copy link
Contributor

This PR has had no activity for 9 days. It will be automatically closed in 2 days if there is no activity.

@github-actions github-actions bot added stale and removed stale labels Oct 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

raylib UI Preview

All Screenshots

@sshane sshane marked this pull request as ready for review October 22, 2025 22:35
@adeebshihadeh adeebshihadeh mentioned this pull request Oct 22, 2025
@sshane sshane merged commit 4ccafff into master Oct 22, 2025
13 of 14 checks passed
@sshane sshane deleted the rl-multilang branch October 22, 2025 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants