diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx | 89 |
1 files changed, 61 insertions, 28 deletions
diff --git a/Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx b/Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx index 358acb36dca..ae5132b95cb 100644 --- a/Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx +++ b/Master/texmf-dist/source/latex/fontspec/fontspec-code-vars.dtx @@ -37,6 +37,7 @@ \bool_new:N \l_@@_atsui_bool \bool_new:N \l_@@_ot_bool \bool_new:N \l_@@_mm_bool +\bool_new:N \l_@@_harfbuzz_bool \bool_new:N \l_@@_graphite_bool \bool_new:N \l_@@_fontcfg_bool \bool_set_true:N \l_@@_fontcfg_bool @@ -63,7 +64,6 @@ \bool_new:N \l_@@_scriptlang_exist_bool \bool_new:N \g_@@_em_normalise_slant_bool \bool_new:N \l_@@_proceed_bool -\bool_new:N \l_@@_check_feat_bool % \end{macrocode} % % \begin{macro}{\l_@@_never_check_bool} @@ -152,27 +152,36 @@ % \end{macrocode} % % \paragraph{Token lists} +% +% \paragraph{Visible (perhaps?)} +% % \begin{macrocode} \tl_new:N \l_fontspec_family_tl \tl_new:N \g_fontspec_encoding_tl -\tl_new:N \l_fontspec_renderer_tl \tl_new:N \l_fontspec_fontname_tl % \end{macrocode} % +% \paragraph{2e interactions} +% % \begin{macrocode} \tl_clear_new:N \UTFencname \tl_clear_new:N \cyrillicencoding \tl_clear_new:N \latinencoding % \end{macrocode} % +% \paragraph{Renderer/shaper} +% +% \begin{macrocode} +\tl_new:N \l_@@_renderer_tl +\tl_new:N \l_@@_mode_tl +\tl_new:N \l_@@_shaper_tl +% \end{macrocode} +% % \begin{macrocode} -\tl_new:N \l_fontspec_mode_tl -\tl_new:N \g_@@_curr_series_tl \tl_new:N \g_@@_defined_shapes_tl -\tl_new:N \g_@@_nfss_enc_tl -\tl_new:N \g_@@_nfss_family_tl \tl_new:N \g_@@_single_feat_tl \tl_new:N \l_@@_basename_tl +\tl_new:N \g_@@_curr_series_tl \tl_new:N \l_@@_curr_fontname_tl \tl_new:N \l_@@_curr_bfname_tl \tl_new:N \l_@@_ext_filename_tl @@ -180,31 +189,43 @@ \tl_new:N \l_@@_font_path_tl \tl_new:N \l_@@_fontid_tl \tl_new:N \l_@@_fontname_tl -\tl_new:N \l_@@_hexcol_tl +\tl_new:N \l_@@_options_tl +\tl_new:N \l_@@_saved_fontname_tl +% \end{macrocode} +% +% \begin{macrocode} +\tl_new:N \g_@@_nfss_enc_tl +\tl_new:N \g_@@_nfss_family_tl \tl_new:N \l_@@_nfss_sc_tl \tl_new:N \l_@@_nfss_tl \tl_new:N \l_@@_nfss_fam_tl -\tl_new:N \l_@@_opacity_tl -\tl_new:N \l_@@_optical_size_tl -\tl_new:N \l_@@_options_tl -\tl_new:N \l_@@_saved_fontname_tl -\tl_new:N \l_@@_scale_tl +% \end{macrocode} +% +% \begin{macrocode} \tl_new:N \l_@@_size_tl \tl_new:N \l_@@_sizedfont_tl \tl_new:N \l_@@_this_font_tl -\tl_new:N \l_@@_tmp_tl -\tl_new:N \l_@@_tmpa_tl -\tl_new:N \l_@@_tmpb_tl \tl_new:N \l_@@_ttc_index_tl +\tl_new:N \l_@@_smcp_shape_tl +% \end{macrocode} +% +% \paragraph{EM and STRONG} +% \begin{macrocode} \tl_new:N \l_@@_emshape_query_tl \tl_new:N \l_@@_em_switch_tl +\tl_new:N \l_@@_strong_switch_tl +% \end{macrocode} +% +% \paragraph{Scratch variables} +% \begin{macrocode} +\tl_new:N \l_@@_tmp_tl +\tl_new:N \l_@@_tmpa_tl +\tl_new:N \l_@@_tmpb_tl \tl_new:N \l_@@_em_tmp_tl \tl_new:N \l_@@_strong_tmp_tl -\tl_new:N \l_@@_strong_switch_tl -\tl_new:N \l_@@_hyphenchar_tl -\tl_new:N \l_@@_smcp_shape_tl % \end{macrocode} % +% \paragraph{Maths fonts} % \begin{macrocode} \tl_new:N \g_@@_mathrm_tl \tl_new:N \g_@@_bfmathrm_tl @@ -212,7 +233,7 @@ \tl_new:N \g_@@_mathtt_tl % \end{macrocode} % -% Defaults: +% Defaults: (these are set elsewhere; TODO: check if redundant) % \begin{macrocode} \tl_gset:Nn \g_@@_mathrm_tl {\rmdefault} \tl_gset:Nn \g_@@_mathsf_tl {\sfdefault} @@ -225,6 +246,7 @@ \tl_new:N \l_@@_fake_embolden_tl % \end{macrocode} % +% \paragraph{Internal font names} % \begin{macrocode} \tl_new:N \l_@@_fontname_up_tl \tl_new:N \l_@@_fontname_bf_tl @@ -235,20 +257,32 @@ \tl_new:N \l_@@_fontname_sc_tl % \end{macrocode} % +% \paragraph{Script and Language} +% % \begin{macrocode} -\tl_new:N \l_@@_script_name_tl +\tl_new:N \l_@@_script_tl +\tl_new:N \l_@@_script_name_tl \tl_set:Nn \l_@@_script_name_tl {CustomDefault} -\tl_new:N \l_fontspec_script_tl -\tl_new:N \l_@@_lang_name_tl +% \end{macrocode} +% +% \begin{macrocode} +\tl_new:N \l_@@_lang_tl +\tl_new:N \l_@@_lang_name_tl \tl_set:Nn \l_@@_lang_name_tl {Default} -\tl_new:N \l_fontspec_lang_tl % \end{macrocode} % +% \paragraph{Generic font features} +% % \begin{macrocode} -\tl_new:N \l_@@_mapping_tl -\tl_new:N \l_@@_punctspace_adjust_tl -\tl_new:N \l_@@_wordspace_adjust_tl -\tl_new:N \l_@@_postadjust_tl +\tl_new:N \l_@@_scale_tl +\tl_new:N \l_@@_hyphenchar_tl +\tl_new:N \l_@@_hexcol_tl +\tl_new:N \l_@@_opacity_tl +\tl_new:N \l_@@_optical_size_tl +\tl_new:N \l_@@_mapping_tl +\tl_new:N \l_@@_punctspace_adjust_tl +\tl_new:N \l_@@_wordspace_adjust_tl +\tl_new:N \l_@@_postadjust_tl % \end{macrocode} % % \begin{macrocode} @@ -265,7 +299,6 @@ % \end{macrocode} % % \paragraph{Font families} -% Again not a real data structure, and also probably poorly named. % \begin{macrocode} \tl_new:N \l_@@_rmfamily_family_tl \tl_new:N \l_@@_sffamily_family_tl |