[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][tex-team/latex-cjk-chinese-arphic][danai-master-patch-35894] Edit debian/rules and put "LC_ALL=C.UTF-8" in front of every `fontforge'...



Title: GitLab

Danai Sae-Han pushed to branch danai-master-patch-35894 at Debian TeX Maintainers / Latex Cjk Chinese Arphic

Commits:

  • 006af2d5
    by Danai Sae-Han at 2026-01-11T22:53:01+08:00
    Edit debian/rules and put "LC_ALL=C.UTF-8" in front of every `fontforge' occurrence.  Welcome to 2026...

1 changed file:

Changes:

  • debian/rules
    ... ... @@ -133,20 +133,20 @@ $(build-stamp_fonts):
    133 133
     
    
    134 134
     	# Create Unicode encoded subfonts `$(uninamestem)00' .. `$(uninamestem)ff'.
    
    135 135
     	# This will take a lot of hours.  Make yourself a nice day.
    
    136
    -	( cd $(builddir) && fontforge -script subfonts.pe $(typeface).ttf $(uninamestem) $(sfddir)/Unicode.sfd )
    
    136
    +	( cd $(builddir) && LC_ALL=C.UTF-8 fontforge -script subfonts.pe $(typeface).ttf $(uninamestem) $(sfddir)/Unicode.sfd )
    
    137 137
     	@echo
    
    138 138
     
    
    139 139
     
    
    140 140
     	# Create font `$(uninamestem)v' with all vertical glyph representation forms.
    
    141 141
     	if [ $(vertical) = "yes" ]; \
    
    142
    -	then ( cd $(builddir) && fontforge -script vertical.pe $(typeface).ttf $(uninamestem)v ); \
    
    142
    +	then ( cd $(builddir) && LC_ALL=C.UTF-8 fontforge -script vertical.pe $(typeface).ttf $(uninamestem)v ); \
    
    143 143
     	fi
    
    144 144
     	@echo
    
    145 145
     
    
    146 146
     	# Create font `$(uninamestem)vr' which has the same structure as `$(uninamestem)v',
    
    147 147
     	# but normal glyphs instead of vertical representation forms.
    
    148 148
     	if [ $(vertical) = "yes" ]; \
    
    149
    -	then ( cd $(builddir) && fontforge -script vertref.pe $(typeface).ttf $(uninamestem)vr ); \
    
    149
    +	then ( cd $(builddir) && LC_ALL=C.UTF-8 fontforge -script vertref.pe $(typeface).ttf $(uninamestem)vr ); \
    
    150 150
     	fi
    
    151 151
     	@echo
    
    152 152
     
    


  • Reply to: