Search found 4 matches

by Arieh
Tue Aug 29, 2017 10:46 am
Forum: MiKTeX and proTeXt
Topic: Miktex and fontspec
Replies: 3
Views: 24990

Miktex and fontspec

Hello Leo__,

Try specifying the extension of the font:

Code: Select all

\setmainfont[
  Path = /localtexf/fonts/truetype/cardo/,
  UprightFont = *-Regular ,
  BoldFont = *-Bold ,
  ItalicFont = *-Italic ,
  Extension = .ttf
 ]{Cardo} %Cardo
by Arieh
Sun Aug 27, 2017 9:30 am
Forum: Fonts & Character Sets
Topic: hebrew font with fontspec
Replies: 7
Views: 11003

hebrew font with fontspec

Many thanks to Stefan and thomasb.
So I understand that you have to either use \end{otherlanguage} or finish the document by using the main language of the document (which sounds logical).
by Arieh
Fri Aug 25, 2017 3:41 pm
Forum: Fonts & Character Sets
Topic: hebrew font with fontspec
Replies: 7
Views: 11003

hebrew font with fontspec

Thanks to Stefan's suggestions:
- I first installed the package texlive-lang-hebrew by

sudo apt-get install texlive-lang-hebrew

- Then I downloaded the Cardo font using the provided link and installed the files in /home/user/.fonts

- Then I compiled again the same MWE by xelatex, the font was ...
by Arieh
Thu Aug 24, 2017 2:18 am
Forum: Fonts & Character Sets
Topic: hebrew font with fontspec
Replies: 7
Views: 11003

hebrew font with fontspec

I am learning how to use polyglossia and fontspec to write texts in Hebrew, English and possibly other languages. I do not seem to succeed getting the Hebrew font (at this point I do not care which Hebrew font). I tried with other Hebrew fonts as well. I looked at
https://tex.stackexchange.com ...