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

Improve positioning of Titlo Halves #3

Open
KrasnayaPloshchad opened this issue Oct 13, 2015 · 18 comments
Open

Improve positioning of Titlo Halves #3

KrasnayaPloshchad opened this issue Oct 13, 2015 · 18 comments
Assignees
Milestone

Comments

@KrasnayaPloshchad
Copy link

Hello,

I have encountered a confusion about combining titlo half, because there is a different font behavior for them.

The Spasskaya tower have an icon including Cyrillic nomina sacra marked with long titlo:

  • ІС ХС (“Jesus Christ”)

In the develop version of GNU FreeFont, the annotation can be implement in this way: І<U+FE2E, U+FE2F>С Х<U+FE2E, U+FE2F>С, but it seems not work with your fonts, maybe can be implement in this way: І<U+FE2E>С<U+FE2F> Х<U+FE2E>С<U+FE2F>, but the titlo seems broken. I don’t know which combinations looks proper.

P.S. You can get the develop version of GNU FreeFont from here, Microsoft Windows user can extract the font file by 7-zip: https://code.launchpad.net/~dns/+recipe/freefont

@KrasnayaPloshchad
Copy link
Author

Now I think <U+FE2E, U+FE2F> can be generated via a mark to mark table, it’s suitable for all caps style.

@typiconman
Copy link
Owner

The correct way to encode the Double Titlo is:
І[U+FE2E]С[U+FE2F] Х[U+FE2E]С[U+FE2F]

What do you mean by it being "broken"? Which font are you using?

@KrasnayaPloshchad
Copy link
Author

I just using Ponomar Unicode, I don’t know whether Fevodosk Unicode and/or Menaion Unicode also appearing this problem.

Here is my test result:
sample
In this case Double Titlo don’t link in Ponomar Unicode in your way, and overlay with base letter.

@typiconman
Copy link
Owner

Works as expected in Firefox 42.0 on Linux Mint 17 Qiana, other than the poor positioning over the I, which needs to be fixed.
shot
Sounds like a problem with your rendering of OpenType features. What browser / OS are you using?

@KrasnayaPloshchad
Copy link
Author

I have used Firefox 40.0 on Windows 10 when I post this issue. Now I was updated Firefox to 42.0, but I still unhappy with positioning.
Screenshot 2.PNG

@KrasnayaPloshchad
Copy link
Author

to my eyes you should adjust the height for them
Additionaly, I had a misclick to close the issue, sorry.

@mamyt
Copy link
Collaborator

mamyt commented Dec 15, 2015

In Windows 10, it seems to depend on the browser that is used. Microsoft Edge (the latest from Microsoft in terms of browsers) for once actually gives the best result. Firefox is okay, but Chrome fails completely. Examples are posted below.
TestingCombiningTilde.pdf

@typiconman
Copy link
Owner

Yes, there is definitely some work that can be done on adjusting the heights. But that is actually kind of difficult to do in OpenType.

@typiconman typiconman changed the title Confusion about combining titlo half Improve positioning of Titlo Halves Dec 16, 2015
@typiconman typiconman added this to the v2.0 milestone Dec 16, 2015
@typiconman typiconman self-assigned this Dec 16, 2015
@KrasnayaPloshchad
Copy link
Author

you should also make them happy as you expected in your screenshot

@typiconman
Copy link
Owner

You are not entering them correctly. It should be I[U+FE2E]C[U+FE2F].

@typiconman typiconman modified the milestones: v2.0, v2.1 Apr 29, 2016
@typiconman
Copy link
Owner

Too complicated to fix, so I'm bumping this to the next release.

@KrasnayaPloshchad
Copy link
Author

You can try to create a branch repo for this work, then other people can help.

@KrasnayaPloshchad
Copy link
Author

Recently OpenType specification introduced OpenType Variation technology, does it help?

@typiconman
Copy link
Owner

I suppose you could use the Variations to create expanding widths of the titlo glyph.
https://medium.com/@tiro/https-medium-com-tiro-introducing-opentype-variable-fonts-12ba6cd2369#.3pn2hj1m8
However, this is still very low priority on the list of things to support.

@StefanPeev
Copy link

@typiconman @KrasnayaPloshchad As far as I can see the problem is not solved still. I offered my suggestions in #75. Well, actually the glyphs /uniFE2E and /uniFE26 can connect correctly above two letters without the help of /uniFE2F if /uniFE2E and /uniFE26 are a little bit longer then now and if the anchors are placed correctly. However a little compromise is necessary to get things right for all possible cases. The horizontal bar of the diacritics Titlo (/uniFE2E and /uniFE26) must be strictly horizontal. In this way, we will be sure that, in all possible cases, there will be no discrepancies in one direction or the other at the place of assembly.

@typiconman
Copy link
Owner

typiconman commented Mar 21, 2024

@StefanPeev attempts to fix this are welcome.
As I have played around with this quite a bit previously, I'll warn right away that it is quite difficult to do. Yes you can make the titlo halves longer, but what if they are above narrow characters, like the і?
As I said above, I don't see this as a big priority since titlos over two or more characters are not used in Synodal orthography, for which this font is designed. The effort may be better spent fixing titlo positioning in an ustav-era font such as Shafarik or Menaion, or in creating a decorative font for iconographers to use.
But, again, pull requests are always welcome.

@typiconman
Copy link
Owner

See also the discussion in #25 and other threads referred to in this one.

@StefanPeev
Copy link

StefanPeev commented Mar 21, 2024

@typiconman If we have a good solution for Ponomar Unicode the same method can be used for any other font. The situation can be solved in FontLab 8 very simply: we add an anchor point to the first base letter in such a way that the Titlo diacritic /uniFE2E to be left justified. On the other hand we add an anchor point to the second base letter in such a way that the Titlo diacritic /uniFE26 to be right justified. If the horizontal bars of /uniFE2E and /uniFE26 are long enough, they will stick together in a nice way. I'll see how to do this in FontForge also.
Here is the same solution for the project Veleka World (the revisions are still not published in the project).

Screenshot 2024-03-21 110658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants