-
Notifications
You must be signed in to change notification settings - Fork 15
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
[hebr/he] example cantillation text has poor mark placement #146
Comments
The page uses a Noto Serif Hebrew webfont. Btw, i can't tell whether this should be 0599 HEBREW ACCENT PASHTA or 05A8 HEBREW ACCENT QADMA. It makes a difference in Ezra SIL SR, Times New Roman and Tahoma. Which font and code point are you using? |
Wait but here we're talking about an image generated using what is probably different font than the font used on the page for real text, right? And then coloring was added, which is probably what messed up the mark placement, since in general it is impossible to add coloring to marks without messing up placement, although I know specific people who have had success with adding color, using specific software and specific techniques within that software. As for whether that mark on the tav should be created by U-PASHTA or U-QADMA... that's a darn good question, one I get into in #157. Semantically (abstractly), it should be U-PASHTA. But concretely, visually, placement-wise, U-QADMA is a "cheat" to get the central placement you want without requiring the font to be "smart". As I mentioned above, I suspect the coloring defeated the font's "smarts", so this might be one rare case where I would, regrettable, advise to use U-QADMA. And then once you've generated the image, destroy the Unicode source file evidence. Perhaps a good approach to generating small examples where only marks are colored, like this, would be to generate an SVG and then edit the resulting SVG in an SVG editor. I think harfbuzz has a utility that will generate an SVG from a string; there's probably other software that can do it as well. I guess any SVG editor will allow you to put text in and then created an SVG from that and then you could import that SVG back into the SVG editor and manipulate the color of the marks there. |
As to what font I used to create the image I provided, I am using my own font, https://bdenckla.github.io/Taamey_D/. |
The colourisation didn't change anything. I create the text in a web page, then take a screen grab in the highlight colour, then change the colour (of the whole thing), and screen grab again. Then in PhotoShop i place one image over the other and delete where the highlight needs to shine through. So no effect at all on placement. Usually i record the actual font used and the size in the image element attributes, but this is an old image dating from before i did that consistently :( |
Interesting technique! |
I replaced the image with a new one, using the Ezra SIL SR font which allowed me to use the correct code points and (hopefully) produces something close enough to what's expected. (Click on the image, as usual for recent figures, to see the composition.) |
[source] https://r12a.github.io/scripts/hebr/he
Original:
With blue arrows highlighting the two placement issues:
Example of text without these issues:


The text was updated successfully, but these errors were encountered: