> Aren't the csr fonts essentially extended cm fonts with accented
> characters for latin2 range? If so can't you just use a
> computer-modern based  unicode font such as latin modern?

Yes, they are. No, we can't.

> It is possible to do all the re-encodings necessary to use a classic
> 8bit font, but why, when existing extensions of computer modern to
> much larger ranges exist?

Because of nuances in final result. See the attachments. One was
generated by running

$ luatex lm-csr.tex
the another by
$ pdfcsplain lm-csr.tex

MQ

Attachment: lm-csr-luatex.pdf
Description: Adobe PDF document

Attachment: lm-csr-pdfcsplain.pdf
Description: Adobe PDF document

\newif\iflua
\ifx\luatexversion\undefinedmacro\luafalse\else\luatrue\fi

\def\test{ä á č ď é ě í ľ ĺ ň ó ô ŕ ř š ť ú ů ý ž}

\iflua
\input luaotfload.sty
\fi
\input ofs.tex

\iflua\uselanguage{czech}

\def\stdfeat#1{:mode=base;script=latn;+tlig}
\ofsdeclarefamily [LMRoman] {%
\loadtextfam lmroman10-regular\stdfeat{};%
             lmroman10-bold\stdfeat{};%
             lmroman10-italic\stdfeat{};%
             lmroman10-bolditalic\stdfeat{};;%
}

\setfonts[LMRoman/10]\test
\else
\setfonts[CMRoman/10]\test
\fi
\bye

Reply via email to