georgd / EB-Garamond

Digitization of the Garamond shown on the Egenolff-Berner specimen
http://www.georgduffner.at/ebgaramond
SIL Open Font License 1.1
896 stars 68 forks source link

Missing Greek Numerals and other minor glyphs #160

Open Doc73 opened 1 year ago

Doc73 commented 1 year ago

Dear Developer, I would notice that some glyphs are missing, in particular:

These glyphs are very useful in greek philology.

Many thanks in advance.

georgd commented 1 year ago

I don’t understand your first point. Archaic lowercase qoppa and stigma, like digamma and sampi exist in EBG12-Regular. How do you enter them when they don’t come up for you? They’re missing in the Italics, though.

Doc73 commented 1 year ago

Ah, yes! I us XeLaTeX with polyglossia package. Here is a sample:

% !TeX TS-program = xelatex
% !TeX encoding = UTF-8
% !TeX spellcheck = it_IT
% !TeX root = test.tex

\documentclass[11pt,b5paper,article]{memoir}
\setlength{\parindent}{0.5cm}

\usepackage{fontspec,unicode-math}
\setmainfont[Ligatures=TeX]{EB Garamond}
\newfontfamily\greekfont[Script=Greek,Ligatures=TeX]{EB Garamond}

\usepackage{polyglossia}
\setmainlanguage[]{italian}
\setotherlanguage[variant=ancient]{greek}
\usepackage{realscripts}

\begin{document}
\chapter{Italian Environment}
-- REGULAR ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω

\textit{-- ITALICS ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}

\textbf{-- BOLD ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}

\textit{\textbf{-- BOLD ITALICS ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}}

1234567890

Numerali \greeknumeral{1} \greeknumeral{6} \greeknumeral{40}
\greeknumeral{90}
\greeknumeral{100} \greeknumeral{900} \greeknumeral{1000} 

Realscripts π\textsuperscript{α} T\textsuperscript{exc}

No Realscripts π\textsuperscript*{α} T\textsuperscript*{exc}

\dagger ⟦\dots⟧

\textasciigrave\dots\textasciiacute

※

\chapter{Greek Environment}
\begin{greek}
-- REGULAR ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω

\textit{-- ITALICS ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}

\textbf{-- BOLD ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}

\textit{\textbf{-- BOLD ITALICS ἀλλά μοι δοκεῖς αβγδεζηθικλμνχοπρσςτυφχψω}}

1234567890

Numerali \greeknumeral{1} \greeknumeral{6} \greeknumeral{40}
\greeknumeral{90}
\greeknumeral{100} \greeknumeral{900} \greeknumeral{1000}

Realscripts π\textsuperscript{α} T\textsuperscript{exc}

No Realscripts π\textsuperscript*{α} T\textsuperscript*{exc}

\dagger ⟦\dots⟧

\textasciigrave\dots\textasciiacute

※
\end{greek}
\end{document}

%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-engine: xetex
%%% TeX-output-dir: "build"
%%% TeX-master: t
%%% End:
georgd commented 1 year ago

OK. \greeknumeral requires the letters be present in uppercase, at least the error message looks like it:

Missing character: There is no Ϛ (U+03DA) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Missing character: There is no ϟ (U+03DF) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Missing character: There is no ͵ (U+0375) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Missing character: There is no ⟦ (U+27E6) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Missing character: There is no ⟧ (U+27E7) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Missing character: There is no ※ (U+203B) in font EB Garamond 12 Regular/OT:scr
ipt=grek;language=dflt;mapping=tex-text;!
Doc73 commented 1 year ago

No! \greeknumeral requires lowercase letters. For uppercase letters you must use \Greeknumeral. For Ϛ there is a bug: https://github.com/reutenauer/polyglossia/issues/587

georgd commented 1 year ago

Oh, thanks for the information. For me it stays the same — the uppercase stigma and qoppa (and some other archaic characters) are missing.