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

U+02D2-02D7 should bet centered, not low #557

Open
moyogo opened this issue Sep 27, 2024 · 3 comments
Open

U+02D2-02D7 should bet centered, not low #557

moyogo opened this issue Sep 27, 2024 · 3 comments

Comments

@moyogo
Copy link

moyogo commented Sep 27, 2024

Describe the bug
U+02D2-02D7 ˒˓˔˕˖˗ should be centered, like hyphen, not low.

Screenshots

U+02D2-02D7 are currently low in the fonts that have them:
Screenshot 2024-09-27 at 12 02 50

@alerque
Copy link
Owner

alerque commented Sep 27, 2024

Thanks for the report. Contributions are always welcome. Do you have sources for your proof sheet there? That kind of thing (in LaTeX, SILE, Typst, whatever) is handy for checking specific changes like this.

@alerque
Copy link
Owner

alerque commented Sep 27, 2024

I created some scratch tests to look at this in other fonts:

SILE source
\begin[papersize=a7]{document}
\nofolios
\neverindent
\use[module=packages.color]
\begin{lua}

SILE.settings:set("document.rskip", SILE.types.node.hfillglue())
SILE.settings:set("document.spaceskip", SILE.types.length("1spc", 0, 0))

SILE.registerCommand("font-v", function (_, _)
   local face = SILE.font.cache(SILE.font.loadDefaults({}), SILE.shaper.getFace)
   local ot = require("core.opentype-parser")
   local font = ot.parseFont(face)
   local name = font.names[4]["en-US"][1]
   local size = SILE.settings:get("font.size")
   local version = font.names[5]["en-US"][1]:gsub(";.*", "")
   SILE.call("skip", { height = "-0.8em" })
   SILE.call("font", { size = "0.2em" }, function ()
      SILE.call("color", { color = "#7f7f7f" }, { ("%s %spt, %s"):format(name, size, version) })
   end)
   SILE.call("skip", { height = "-0.4em" })
end)

\end{lua}
\define[command=ts]{x˒˓˔˕˖˗x\font-v}
\font[size=20pt]

\font[family=Libertinus Serif]{\ts}

\font[family=Gentium Plus]{\ts}

\font[family=Charis SIL]{\ts}

\font[family=Brill]{\ts}

\font[family=Junicode]{\ts}

\font[family=Noto Serif]{\ts}

\font[family=TeX Gyre Termes]{\ts}

\font[family=Linux Libertine]{\ts}

\end{document}

image

I'm not familiar with these code points or their use. Do you have some references for where and how they might be used in context? It looks like besides moving them all up, we might also want to align them a little differently relative to each-other.

@moyogo
Copy link
Author

moyogo commented Sep 27, 2024

They were IPA symbols, variants of marks below.
See https://commons.wikimedia.org/wiki/File:IPA_chart_1951.jpg
Screenshot 2024-09-28 at 00 21 18

A few language orthographies may use ˖ U+02D6 and ˗ U+02D7 for tone marking, as ꞉ U+A789 and ꞊ U+A78A.

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

No branches or pull requests

2 participants