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

[Git][tex-team/latex-cjk-chinese-arphic][danai-master-patch-35894] Remove ad hoc shell variables for each fontforge occurrence, and just rely on...



Title: GitLab

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

Commits:

  • 785f22cc
    by Danai Sae-Han at 2026-01-13T01:10:38+08:00
    Remove ad hoc shell variables for each fontforge occurrence, and just rely on export.  Hopefully this will work, and make the code cleaner.

1 changed file:

Changes:

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


  • Reply to: