[texhax] LGR for xelatex/lualatex

David Carlisle d.p.carlisle at gmail.com
Thu May 24 00:41:24 CEST 2018

On 23 May 2018 at 23:25, Bob Tennent <rdt at cs.queensu.ca> wrote:
>  >|> I've tried one paragraph of lipsum with xelatex and got the
>  >|> same hyphenation as pdflatex and lualatex.
>  >|
>  >|How are you selecting Greek hyphenation? The default build of xelatex
>  >|does not load hyphenation patterns for legacy 8bit encodings, although
>  >|of course it would be possible to build a format that did that.
> \fontencoding{LGR}\fontfamily{FiraSans-...}\selectfont
> I think I'm getting the type1 font, even with xelatex and
> lualatex.

well yes you will if you specify LGR encoding, also if you only have
that you'll be typesetting with English hyphenation patterns.

The argument seems to be circular, what is the actual requirement, the
following sets the Greek text in Fira Sans with xelatex


\setmainfont{Fira Sans}

Γειά σου Κόσμε


why do you need an LGR encoded version for xelatex (which can not have
as many available characters and can not be correctly hyphenated using
the default format)?


> Bob T.

More information about the texhax mailing list