Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small bug fixes for text entry panel #2041

Merged

Conversation

qwerasd205
Copy link
Contributor

These two small UI bugs were really bothering me so I fixed them.

  1. /slash -> / -> nothing (or invalid character) (triggered by modification to the glyph lines such as by cmd+left/right)
  2. Text area too tall for browser window, bad overflow behavior

Video demonstrating the bugs:

text-entry-panel-bugs.mp4

These are very trivial fixes, since I wanted to start off by contributing something small- but there are various improvements that would be desirable for the text panel, such as the ability to toggle whether to represent certain classes of glyphs as their character or /name, for example this is kind of annoying when working with combining glyphs since you may type A/acutecomb and have it turned in to Á, making it not possible to hand edit e.g. which base character it's applied on top of via the text panel (you can right click -> replace glyph on canvas, but that's not at all ergonomic).

…owser window

Would previously overflow the bottom of the container and make the
alignment buttons inaccessible.
This would cause "disappearing slashes" before, not good.
Copy link

google-cla bot commented Feb 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link
Collaborator

@justvanrossum justvanrossum left a comment

Choose a reason for hiding this comment

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

Thanks! The text entry fix is good to go: thanks for the catch, this must have been a regression.

I left a suggestion for the slash issue.

@justvanrossum justvanrossum merged commit 159dc85 into googlefonts:main Feb 25, 2025
5 checks passed
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