<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%%
%% Test sans option with \normalfont
%% 2017/05/10 Abhabongse Janthong &lt;abhabongse@gmail.edu&gt;
%% 	        - write a new test reproducing errors
%%
\documentclass[a4paper]{article}
\usepackage[thai]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[sans,sflaksaman,rmnorasi]{fonts-tlwg}

\begin{document}

    \begin{tabbing}
        {\usefont{LTH}{norasi}{b}{n}XXXXXXXXXXXXXXXXXXXXXXXXX}\=
        {\usefont{LTH}{norasi}{b}{n}XXXXXXXXXXXXXXXXXXXXXXXXX}\kill
        \hspace{1em}
        ŕąŹ ŕą€ŕ¸›ŕą‡ŕ¸™ŕ¸ˇŕ¸™ŕ¸¸ŕ¸©ŕ¸˘ŕąŚŕ¸Şŕ¸¸ŕ¸”ŕ¸›ŕ¸Łŕ¸°ŕą€ŕ¸Şŕ¸Łŕ¸´ŕ¸ŕą€ŕ¸Ąŕ¸´ŕ¸¨ŕ¸„ŕ¸¸ŕ¸“ŕ¸„ŕąŕ¸˛ \&gt; ŕ¸ŕ¸§ŕąŕ¸˛ŕ¸šŕ¸Łŕ¸Łŕ¸”ŕ¸˛ŕ¸ťŕ¸ąŕ¸‡ŕ¸Şŕ¸±ŕ¸•ŕ¸§ŕąŚŕą€ŕ¸”ŕ¸Łŕ¸±ŕ¸ŕ¸‰ŕ¸˛ŕ¸™ \\
        ŕ¸ŕ¸‡ŕ¸ťŕąŕ¸˛ŕ¸źŕ¸±ŕ¸™ŕ¸žŕ¸±ŕ¸’ŕ¸™ŕ¸˛ŕ¸§ŕ¸´ŕ¸Šŕ¸˛ŕ¸ŕ¸˛ŕ¸Ł          \&gt; ŕ¸­ŕ¸˘ŕąŕ¸˛ŕ¸Ąŕą‰ŕ¸˛ŕ¸‡ŕ¸śŕ¸Ąŕ¸˛ŕ¸Ťŕ¸¤ŕą…ŕą€ŕ¸‚ŕąŕ¸™ŕ¸†ŕąŕ¸˛ŕ¸šŕ¸µŕ¸‘ŕ¸˛ŕąŕ¸„ŕ¸Ł\\
        ŕą„ŕ¸ˇŕąŕ¸–ŕ¸·ŕ¸­ŕą‚ŕ¸—ŕ¸©ŕą‚ŕ¸ŕ¸Łŕ¸ŕąŕ¸Šŕąŕ¸‡ŕ¸‹ŕ¸±ŕ¸”ŕ¸®ŕ¸¶ŕ¸”ŕ¸®ŕ¸±ŕ¸”ŕ¸”ŕąŕ¸˛    \&gt; ŕ¸«ŕ¸±ŕ¸”ŕ¸­ŕ¸&nbsp;ŕ¸±ŕ¸˘ŕą€ŕ¸«ŕ¸ˇŕ¸·ŕ¸­ŕ¸™ŕ¸ŕ¸µŕ¸¬ŕ¸˛ŕ¸­ŕ¸±ŕ¸Šŕ¸Śŕ¸˛ŕ¸Şŕ¸±ŕ¸˘ \\
        ŕ¸›ŕ¸Źŕ¸´ŕ¸šŕ¸±ŕ¸•ŕ¸´ŕ¸›ŕ¸Łŕ¸°ŕ¸žŕ¸¤ŕ¸•ŕ¸´ŕ¸ŕ¸Žŕ¸ŕ¸łŕ¸«ŕ¸™ŕ¸”ŕąŕ¸       \&gt; ŕ¸žŕ¸ąŕ¸”ŕ¸ŕ¸˛ŕąŕ¸«ŕą‰ŕ¸ŕąŠŕ¸°ŕą† ŕ¸ŕą‹ŕ¸˛ŕą† ŕ¸™ŕąŕ¸˛ŕ¸źŕ¸±ŕ¸‡ŕą€ŕ¸­ŕ¸˘ ŕ¸Ż\\
    \end{tabbing}

    % Should switch to defaultfont, which should have been \thaisffamily
    ŕ¸›ŕ¸Łŕ¸°ŕą‚ŕ¸˘ŕ¸„ŕ¸&nbsp;ŕ¸˛ŕ¸©ŕ¸˛ŕą„ŕ¸—ŕ¸˘ \normalfont ŕ¸›ŕ¸Łŕ¸°ŕą‚ŕ¸˘ŕ¸„ŕ¸&nbsp;ŕ¸˛ŕ¸©ŕ¸˛ŕą„ŕ¸—ŕ¸˘

    \bigskip
    \begin{tabbing}
        {\usefont{LTH}{norasi}{b}{n}XXXXXXXXXXXXXXXXXXXXXXXXX}\=
        {\usefont{LTH}{norasi}{b}{n}XXXXXXXXXXXXXXXXXXXXXXXXX}\kill
        \hspace{1em}
        ŕąŹ ŕą€ŕ¸›ŕą‡ŕ¸™ŕ¸ˇŕ¸™ŕ¸¸ŕ¸©ŕ¸˘ŕąŚŕ¸Şŕ¸¸ŕ¸”ŕ¸›ŕ¸Łŕ¸°ŕą€ŕ¸Şŕ¸Łŕ¸´ŕ¸ŕą€ŕ¸Ąŕ¸´ŕ¸¨ŕ¸„ŕ¸¸ŕ¸“ŕ¸„ŕąŕ¸˛ \&gt; ŕ¸ŕ¸§ŕąŕ¸˛ŕ¸šŕ¸Łŕ¸Łŕ¸”ŕ¸˛ŕ¸ťŕ¸ąŕ¸‡ŕ¸Şŕ¸±ŕ¸•ŕ¸§ŕąŚŕą€ŕ¸”ŕ¸Łŕ¸±ŕ¸ŕ¸‰ŕ¸˛ŕ¸™ \\
        ŕ¸ŕ¸‡ŕ¸ťŕąŕ¸˛ŕ¸źŕ¸±ŕ¸™ŕ¸žŕ¸±ŕ¸’ŕ¸™ŕ¸˛ŕ¸§ŕ¸´ŕ¸Šŕ¸˛ŕ¸ŕ¸˛ŕ¸Ł          \&gt; ŕ¸­ŕ¸˘ŕąŕ¸˛ŕ¸Ąŕą‰ŕ¸˛ŕ¸‡ŕ¸śŕ¸Ąŕ¸˛ŕ¸Ťŕ¸¤ŕą…ŕą€ŕ¸‚ŕąŕ¸™ŕ¸†ŕąŕ¸˛ŕ¸šŕ¸µŕ¸‘ŕ¸˛ŕąŕ¸„ŕ¸Ł\\
        ŕą„ŕ¸ˇŕąŕ¸–ŕ¸·ŕ¸­ŕą‚ŕ¸—ŕ¸©ŕą‚ŕ¸ŕ¸Łŕ¸ŕąŕ¸Šŕąŕ¸‡ŕ¸‹ŕ¸±ŕ¸”ŕ¸®ŕ¸¶ŕ¸”ŕ¸®ŕ¸±ŕ¸”ŕ¸”ŕąŕ¸˛    \&gt; ŕ¸«ŕ¸±ŕ¸”ŕ¸­ŕ¸&nbsp;ŕ¸±ŕ¸˘ŕą€ŕ¸«ŕ¸ˇŕ¸·ŕ¸­ŕ¸™ŕ¸ŕ¸µŕ¸¬ŕ¸˛ŕ¸­ŕ¸±ŕ¸Šŕ¸Śŕ¸˛ŕ¸Şŕ¸±ŕ¸˘ \\
        ŕ¸›ŕ¸Źŕ¸´ŕ¸šŕ¸±ŕ¸•ŕ¸´ŕ¸›ŕ¸Łŕ¸°ŕ¸žŕ¸¤ŕ¸•ŕ¸´ŕ¸ŕ¸Žŕ¸ŕ¸łŕ¸«ŕ¸™ŕ¸”ŕąŕ¸       \&gt; ŕ¸žŕ¸ąŕ¸”ŕ¸ŕ¸˛ŕąŕ¸«ŕą‰ŕ¸ŕąŠŕ¸°ŕą† ŕ¸ŕą‹ŕ¸˛ŕą† ŕ¸™ŕąŕ¸˛ŕ¸źŕ¸±ŕ¸‡ŕą€ŕ¸­ŕ¸˘ ŕ¸Ż\\
    \end{tabbing}

\end{document}
</pre></body></html>