Skip to content

Commit

Permalink
[Malayalam] Added the missing piece of adding Mark-anchor to dotreph …
Browse files Browse the repository at this point in the history
…with screenshots

Signed-off-by: Rajeesh K Nambiar <[email protected]>
  • Loading branch information
rajeeshknambiar committed May 25, 2014
1 parent 19e54f0 commit 304b0bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Chapters/Malayalam.tex
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ \subsubsection{History of Samvruthokaram rendering}
Dot Reph is best implemented in font using Opentype Glyph Class ‘Mark’. Base glyphs and conjuncts are not marked as ‘Mark’ class, but an Anchor point to those glyphs could be added indicating the position where Dot Reph would be placed.\\
Harfbuzz and Uniscribe reorders Dot Reph after the base glyph/conjunct. For instance \texttt{hb-shape} utility (from Harfbuzz source tree) shows the output of {\meera ൎത്തു} \texttt{<dotreph, th1, xx(virama), th1, u1(u-sign)>} as \\ \texttt{[th1th1u1=0+2461|dotreph=0\@-575,-5+0]}. Thus, it is only necessary to add an Anchor point to glyph \texttt{th1th1u1} at the desired coordinate to render dotreph.\\

An example of how to do this using Fontforge:
An example of how to do this step by step using Fontforge:
\begin{figure}[H] %Place the images right here. via ‘float’ package
\includegraphics[width=0.5\textwidth]{images/malayalam-meera-dotreph-mark.png}
\caption{Set OT Glyph Class of \texttt{dotreph} as ‘Mark’}
Expand All @@ -454,7 +454,13 @@ \subsubsection{History of Samvruthokaram rendering}
\end{figure}
\begin{figure}[H]
\includegraphics[width=0.5\textwidth]{images/malayalam-meera-gpos-abvm-3.png}
\caption{Anchor control on Base characters (not marked as ‘Mark’ class)}
\caption{Anchor control on Base characters (not marked as ‘Mark’ class), repeat this for all required glyphs}
\end{figure}
\begin{figure}[H]
\includegraphics[width=0.35\textwidth]{images/malayalam-meera-add-mark-anchor-1.png}
\includegraphics[width=0.6\textwidth]{images/malayalam-meera-add-mark-anchor-2.png}
\includegraphics[width=0.25\textwidth]{images/malayalam-meera-add-mark-anchor-3.png}
\caption{Anchor control at the bottom of Mark character ‘dotreph’}
\end{figure}
\begin{figure}[H]
\includegraphics[width=0.3\textwidth]{images/malayalam-meera-conjunct-add-anchor.png}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 304b0bf

Please sign in to comment.