Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hardcopy で現れる日本語の周りの細いスペースを消す方法 #1375

Open
KusaReMKN opened this issue Jul 10, 2021 · 0 comments

Comments

@KusaReMKN
Copy link

質問の内容

和文と欧文の混じったテキストを hardcopy すると和文と欧文の間に細いスペースが入るようです。
画像は適当なテキストを :ha>hoge.ps したところですが、
hogeほげの間に挿入されているスペースを消す方法を探しています。

image

Vimのバージョン

$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31)
適用済パッチ: 1-2269

OSの種類/ディストリ/バージョン

Ubuntu 20.04.2 LTS

$ uname -srvpio
Linux 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 GNU/Linux

使用している or 関係していそうなプラグイン

印刷周りの設定は .vimrc で次のように設定しています:

set encoding=utf-8

set printencoding=euc-jp
set printfont=Unifont:h12
set printmbfont=r:Unifont
set printoptions=syntax:a,number:y

その他

:ha>hoge.ps で出力された PostScript ファイルを覗いてみると、文字位置を移動しているようです。

CF2 sf
<202020202031>62.5 766.9 ms			%% 行番号 (1)
CF0 sf
<686f6765686f6765686f6765>110.5 766.9 ms	%% hogehogehoge
CF2 sf
<202020202032>62.5 754.9 ms			%% 行番号 (2)
CF0 sf
<686f6765>110.5 754.9 ms			%% hoge
<a4dba4b2>137.5 754.9 ms			%% ほげ
<686f6765>164.5 754.9 ms			%% hoge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant