文字角度変更
垂直横文字をの左下を基点に、水平横文字に角度変更する外部変形。
@REM 文字角度変更
@echo off
REM #jww
REM #cd
REM #h3 範囲内の文字データのみを選択
REM #hc 範囲選択してください
REM #e
jgawk '/hq/{print "hd";next}/^^ch/{if($4!=0 ^&^& $5!=0 ^|^| $4^>0 ^&^& $5==0){print;next}else if($4==0 ^&^& $5^<0){$4=-$5}else if($5==0 ^&^& $4^<0){$4=-$4}else{$4=$5}$5=0;print;next}{print}' jwc_temp.txt>temp.txt
copy temp.txt jwc_temp.txt
del temp.txt
goto end
範囲選択→左AM0時 確定 基点(free)
文字コード ANSIで保存してください
:end
| 固定リンク

コメント