fontspec icon indicating copy to clipboard operation
fontspec copied to clipboard

Font selection in LaTeX for XeTeX and LuaTeX

Results 137 fontspec issues
Sort by recently updated
recently updated
newest added

## Description When a user requests `Scale=MatchLowercase` or `Scale=MatchUppercase`, `fontspec` will compute the scale factor for *each of the many font faces/instances* separately. This is inappropriate for mono-spaced font families...

Hi Will - the fontspec documentation says that the \setmainfont call should include the .otf (to look up by filename), even when .fontspec files are used. As in: \documentclass{article} \usepackage{fontspec}...

Should functions like `\fontspec_set_family:Nnn` be always local, always global, or have `gset` variants?

This is a little bit related to issue #7. fontspec when use with luatex, select "wrong" font weights and optical size, here is a minimum example, ``` latex \documentclass{article} \usepackage[no-math]{fontspec}...

## Description In LuaTEX, `\prehyphenchar` and `\posthyphenchar` supposedly affect the current language. However, after changing `\addfontfeature`, both of those reset to the defaults. Seems related to #58. ## Check/indicate -...

See: https://github.com/lualatex/luaotfload/issues/424#issuecomment-428616588

## Description Babel currently has some code: \{fontspec-opentype}{Script/\bbl@cs{sname@#1}}% {\\\newfontscript{\bbl@cs{sname@#1}}{\bbl@cs{sotf@#1}}}% \{fontspec-opentype}{Language/\bbl@cs{lname@#1}}% {\\\newfontlanguage{\bbl@cs{lname@#1}}{\bbl@cs{lotf@#1}}}}} This will break if I ever change fontspec's keyval processing. But I could add something like `\fontspec_if_script_option_defined:nTF` or similar.

## Description It looks like I incorrectly strip off extensions when I shouldn't be when `Extension = .xyz` is NOT included. ## Check/indicate - [x] Relevant for XeTeX - [x]...

(Apologies if this should be filed under the unicode-math project.) I'm trying to use a `.fontspec` file for a math font. For example, I start with this: ``` \documentclass{article} \usepackage{unicode-math}...