Hi!

Following, so far only very lightly tested, patch fixes a problem with
punctum cavum with some material above it, like
(hr[ocba:1;3mm])
Without the patch, without the [ocba:1;3mm] the punctum cavum is not crossed
by the score line, while with the patch it is incorrectly crossed.
>From my understanding, grecalculateglyphraisevalue is not needed for the
hbox and kern, but #4 could do \raise etc.
If I replace
    \color{grebackgroundcolor}%
in \grefillhole macro with \color{red}%, it clearly shows that without the
patch the fill punctum is put above the curly brace above the score.

Attaching images how it is typeset before and after.

--- a/tex/gregoriotex-signs.tex 2014-12-28 23:17:29.000000000 +0100
+++ b/tex/gregoriotex-signs.tex 2014-12-28 23:19:19.126146875 +0100
@@ -1701,12 +1701,12 @@
 \UseNormalPunctumCavum
 
 \def\grepunctumcavum#1#2#3#4#5{%
-  \grecalculateglyphraisevalue{#1}{0}%
   \setbox\GreTempwidth=\hbox{\gregoriofont\grepunctumcavumchar}%
   \global\grelastglyphwidth=\wd\GreTempwidth %
   \kern\grelastglyphwidth %
   #4\relax %
   \kern-\grelastglyphwidth %
+  \grecalculateglyphraisevalue{#1}{0}%
   \ifnum\grehidepclines=1\relax %
     \grefillhole{\grepunctumcavumholechar}%
   \fi %
@@ -1715,12 +1715,12 @@
 }
 
 \def\grelineapunctumcavum#1#2#3#4#5{%
-  \grecalculateglyphraisevalue{#1}{0}%
   \setbox\GreTempwidth=\hbox{\gregoriofont\grelineapunctumcavumchar}%
   \global\grelastglyphwidth=\wd\GreTempwidth %
   \kern\grelastglyphwidth %
   #4\relax %
   \kern-\grelastglyphwidth %
+  \grecalculateglyphraisevalue{#1}{0}%
   \ifnum\grehidepclines=1\relax %
     \grefillhole{\grelineapunctumcavumholechar}%
   \fi %

        Jakub
_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel

Répondre à