-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Feature Idea] Link Glyphs to zones so that zone changes affect the glyphs #12
Comments
That's an interesting idea. Something like mark a glyph (accent) as linked to a zone and then all changes to that zone change the height of it proportionally? ✅ |
Exactly, that way you can either adjust the vertical position or height of all accents at once. Of course, stretching might need further adjustments, but the deformation is usually fairly small, and we do all that manually anyways :) |
True. What would happen if a glyph, let’s say the acute is outside of the current zone. For example way too low, 200 units below the zone. Now you move that zone’s height. When calculating the relative scaling, it would be huge in that case, because the acute is out of the vertical bounds of the zone. I think in such a case the acute’s deformation will be drastic. Of course this is kind of an exaggerated example, and the marks should be placed already inside the zone, I guess. But such cases need to be considered. (I still like the feature idea, though!) ✅ |
It would be, but people do a lot of strange things :D
Relative: the layer paths in relation to the zone, right? Because a plausible case is the macron or dieresis, which usually don’t extend from top to bottom. (and also one would not want those to stretch with the zone height change) → Maybe mark those as position-change-able, but not height-change-able. ✅ I will build a little prototype just to see how this behaves and from there put more questions when I have some. Thanks for the input! |
Another question would be: How to link a glyph to a zone?
✅ |
That would be the most definite. A little fiddly though if you want to add a lot of glyphs. I am thinking of Scripts like Thai or other SEA scripts, where you also have overlapping zones, different levels of tone marks etc. And it would be nice if there would be a convenient way to add a glyph from the current layer > right click > add to zone. But selecting glyphs, copy as list, add to that new column might be sufficient for the beginning. I think that could work. If I add another UI that lists all the glyphs and offers a glyph picker for adding. ✅ This reminds me in a new issue: #13 |
@slobzheninov , what do you think? Current state: Mark.Zones.-.Linked.Glyphs.mp4Some notes:
ℹ️ circumflex is deliberately not linked to that zone (for demo and testing) |
Update state: Mark.Zones.-.Linked.Glyphs.2.mp4@florianpircher: sorry for tagging you. Would you have an idea which UI element could be suitable inside that table? It (currently) is a cell based table view, as that did suffice for when it only held number values until now. I basically added the "Linked Glyphs" property to what currently is each row in that CP UI table. But with the additional "Linked Glyphs" column, I run into the problem:
✅ |
Just the first thought that comes to my mind: Have a second table view to the right of the current one. When selecting a row in the left table view, you show the linked glyphs in the right table view. So, you no longer need the “Linked Glyphs” column. And you could add batch editing, where multiple rows are selected on the left and the user can change the linked glyphs for all of those at the same time in the right table view. No need to worry for tagging me; I already watch this repository and get notifications for every activity. |
Oh, that’s a great idea! Thanks so much. I will try to do that. (okay, no more tagging, thanks for letting me know 😁) ✅ |
While on it:
|
@schriftgestalt (sorry for tagging you) It has a lot of useful functionalities (search, etc) that I think is not efficient to rebuild entirely. At the moment I cannot add it to the NSPopover, because its design as a windowController. Its contentViewController is always nil. I can use its designated presentation method, but that opens the little window anywhere it has been closed before. I need it in the Custom Parameter UI, which is already a sheet, so a Popover for adding glyphs seems the most plausible to me from a user perspective. What do you think? |
You could do it with a modal dialog instead of a popover. |
You could attach the picker window as a sheet, clearly signifying its association to the custom parameter editor window. (Even if sheets on sheets are discouraged.) |
Yeah, because if the discouragement I was shying away from that option. BTW: if there is a more flexible way to use the GSSelectGlyphsDialogController, it could also be used in other places. Maybe in the features window classes > right click > add glyphs. Visual feedback, like I prototyped in the OT-Peeper ages ago. |
By Alex @slobzheninov
It would be sweet to attach accents to the zones, so that moving/stretching the zone would modify the accents accordingly. That would be a quick way to build the uppercase ones 🙃
The text was updated successfully, but these errors were encountered: