Ruixi Zhang

Results 144 comments of Ruixi Zhang

Take `t1ntxtlf.fd` from the `newtx` collection for example, we find the following declarations: ```tex \DeclareFontFamily{T1}{ntxtlf}{\ntx@spacing} \DeclareFontShape{T1}{ntxtlf}{b}{sc}{ \ntx@scaled ntx-Bold-tlf-sc\ntx@lsfx-t1}{} \DeclareFontShape{T1}{ntxtlf}{b}{n}{ \ntx@scaled ntx-Bold-tlf-t1}{} ... \DeclareFontShape{T1}{ntxtlf}{bx}{sc}{ssub * ntxtlf/b/sc}{} \DeclareFontShape{T1}{ntxtlf}{bx}{n}{ssub * ntxtlf/b/n}{} ... ```...

A different point of view, as mentioned in your comment [here](https://tex.stackexchange.com/a/479555), is to move the following code block: ```tex \DeclareSymbolFont{operators}\g_fontspec_encoding_tl\g_@@_mathrm_tl\mddefault\updefault \SetSymbolFont{operators}{normal}\g_fontspec_encoding_tl\g_@@_mathrm_tl\mddefault\updefault ... ``` to follow ```tex \bool_if:NT \g_@@_math_bool { \@@_info:n...

It appears that only a few number of fonts (e.g., Computer Modern) provides the `bx` series. - `mtpro2` assumes that series `b` exists. - `newtxmath` assumes that either `b` or...

@wspr Just noticed a large scale of `bx -> b` changes in the test files in https://github.com/wspr/fontspec/commit/74c6917a13faa3aef57a68820ebaa222d51e4b42 and https://github.com/wspr/fontspec/commit/1b3596ce63db3ed73592144ffec5e42d17000c59 and https://github.com/wspr/fontspec/commit/19fa825a56c144ad478cc9f42bf2c0ff80e7fd4e. Are these changes coming from the LaTeX2e kernel? I...

@wspr `RawFeature=vertical` is not an AAT exclusive feature, but an XeTeX feature, right? On my Windows 8.1 I can (and have to) manually specify `RawFeature=vertical` in order to typeset vertically. Moreover,...

The `Scale=MatchXcase` calculations seemed to be implemented incorrectly as well. | Family | Regular x-height | Bold x-height | | --- | :---: | :---: | | TeX Gyre Termes...

On second thought, is it really necessary to use different scales for different faces? Even if we matched Regular with Regular, Bold with Bold, Italic with Italic, etc., there would...

I improved the code by creating a general-purpose macro `\AssignScaledResult`. It turns out this macro is suitable not only to the size functions, but also for baseline stretch (e.g., `\linespread`). ```latex...

@wspr I just confirmed the same issue of missing kerning under LuaLaTeX. This is very likely a bug introduced by recent versions of `fontspec` because I remembered having a lot...

@wspr Ligatures are lost too (sorry for the multiple postings): ```latex \documentclass{article} \usepackage{fontspec} \begin{document} \noindent Test $\mathrm{VARfi}_p(X)$\\ Test VARfi$_p(X)$ \end{document} ``` Commenting out `\usepackage{fontspec}` restores the desired behavior.