-
Notifications
You must be signed in to change notification settings - Fork 43
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
best way to represent optional notes? #844
Comments
If we use the cavum system and generate all the glyphs, it will overrun the BMP PUA. Alternately, we can do it with fusion. A large part of the difficulty in either case, is drawing the base glyphs. Depending on the algorithm, the bracket solution could also be fairly complex, but the difficulty here is really the placement algorithm and drawing the brackets (metapost?). As far as which is better, this is clearly a style decision, and given there's no precedent, I don't think we can really make an appropriate decision. Perhaps both should be implemented in the long term, and of course the project-selected solution in the short term. |
For cavum glyphs, drawing all possible glyphs would indeed be a rather bad decicion... I was thinking about only drawing the cavum part and place it as signs, I think it could be plugged (not without work of course) into current architecture? I agree that both solutions would be best in the long term. The Antiphonale Monasticum project is not really decided yet, but they seem to prefer the cavum option... |
Placing the cavum on the note head doesn't sound too difficult. Placing it on the downward stroke of the porrectus will be somewhat more complex. |
I admit I don't really see why: the sign placement already has so many options, I think it would be relatively easy, for instance, to draw a vertical episemus in the middle of the porrectus stroke? Wouldn't this be basically the same? |
For the porrectus stroke, the complication is vertical positioning since it's not just below the pitch or something like that; it's probably best handled by creating one glyph per porrectus stroke (I think we have ten of them), and then some glue logic in the cases to select the right glyph depending on stroke/case. |
One more thing to think about: there is an option to see the lines behind the "hole". Drawing a white glyph on top of a black one will not allow this to happen. |
I was thinking of drawing cavums for all possible porrectus strokes indeed (but also for virga, etc.). Also, there wouldn't be an option not to hide the lines for these new cavums, indeed. Let's see how the brackets look like (I've asked for an example). I think they are square brackets, so they should be relatively easy to draw... |
Would we abolish the old cavum technique in deference to this new technique? Or would we try to meld them together somehow? |
That's a difficult question... I tend to see the two systems as quite different: the current simple one will be used most of the time and will have more options (like the possibility to see the line underneath or the different shapes for punctum cavum), while the new one would be quite rarely used, and have less options... Maybe there could be a global switch? (with new by default?) Does it sound much more difficult? |
The simplest thing would be to introduce a new |
So I think the algorithm to find the heights can be quite straightforward... About the way to input them in gabc, I don't really know... maybe with backslashes like Also, my contact tells me that the most needed cavum figures are pes, porrectus can wait, and torculus can be achieved with fusion, so maybe a first version could include an |
I made a post yesterday that seems to have gotten lost. While it my be that the discussion has moved past this point now, I reproduce it below: If we abandon the old technique, the option to have the lines show through would be lost. Before doing that it would be wise to determine if anyone is using that option. Just spitballing here, but what about a system of paired fonts. Font 1, would contain all the glyphs in hollow form. Font 2 would contain the corresponding cavum fills. When solid notes are desired, the appropriate glyphs from both fonts are printed in black (or whatever the note color is). When cavum notes are desired with the lines showing through then only font 1 is printed. When cavum notes are desired with the lines blocked out, the font 1 is printed in black and font 2 in white (technically the background color). This, I think, would minimize the number of glyphs required to have a cavum option for each note shape available. |
I like the idea of the paired fonts, it's certainly much simpler than using the signs system! About the option to see the line through, I'm quite sure noone uses it, especially with the new cavum shapes, with which it would look odd |
With regard to the brackets, how about double square brackets, as in |
Looks good! |
We should decide if we are going to continue to release all three varieties (currently six fonts, but with paired fonts, it'll be eighteen, as we'll need normal, hollow, and hole versions of each of the six). |
Also, if we use paired fonts, which I think is a really, really good idea, then we can support this with just |
Well, I think gregorio and parmesan could actually be distributed in only one mode (not even dominican), we can keep the code to make the dominican version but just comment it... And we could start the hollow font without distributing the dominican version, we'll see if users ask for it... Wdyt? |
I'm in favor of distributing greciliae in all forms with gregorio (the package) and have (TDS-layout) font packs for gregorio, gregorio-op, parmesan, and parmesan-op (each with their hollow/hole sister fonts). Similarly, the build would build greciliae in all forms by default, but something like However, if you don't like this, then I don't really have an objection to doing it your way. |
I like @henryso's idea. |
Good idea yes |
Do we need to support partially-optional multi-note glyphs? For example, a porrectus where the first note is optional and the second two are not. |
That's probably a question best answered by the project wanting the notes (my inclination is no, though). Re-reading through the thread, I noticed that @henryso seems to think that three versions of each font are needed: normal, hollow, and holes. My original idea was that the normal "font" could be created on the fly by printing both the hollow and hole fonts in the same color. Is there some reason why that wouldn't work? |
I don't think we need that
|
@rpspringuel I don't think "fusing" the hollow and the hole for the glyphs in the normal case is a good idea. It will make the PDFs bigger and will cause the same alignment issues that we get with fusion. |
Understood. |
Part of the implementation for gregorio-project#844.
Part of the implementation for gregorio-project#844.
#1143 implements the cavum glyph portion of this issue; the bracket portion still needs to be implemented. |
Part of the implementation for gregorio-project#844.
Before I forget, when using brackets, how do they change with respect to notes on a line as opposed to notes on a space? Do we just extend the bracket to the next open space below/above the low/high notes contained within? Or do we adjust the position within the space (akin to the vertical episema positioning)? |
I think the first proposal is best, that will make something more uniform... |
Part of the implementation for gregorio-project#844.
With #1175, this should be complete. I tried extending the bracket as I mentioned before, but I didn't like the result, so what I've put here is a little different. It's not perfect, but I'm not good at judging the result aesthetically. See gregorio-project/gregorio-test#251 for sample output. |
Part of the implementation for gregorio-project#844.
The Antiphonale Monasticum Project would like to represent some optional notes, they're thinking about two solutions:
Both solutions seem quite complex, especially the first one... What do you think would be best? Do you have other ideas?
The text was updated successfully, but these errors were encountered: