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

三点リーダの文字幅について #41

Closed
machakann opened this issue Feb 17, 2019 · 8 comments
Closed

三点リーダの文字幅について #41

machakann opened this issue Feb 17, 2019 · 8 comments
Assignees

Comments

@machakann
Copy link

すみません、フォントのことは素人でそういうことができるのかわかっていないのですが、三点リーダ群 (U+22EE, U+22EF, U+22F0, U+22F0) の文字幅を半角に指定することは可能でしょうか?

動機としては julia 言語の REPL 上で配列を表示したときの桁をそろえたいというものです。多くの記号が表示できるので重宝しています。ありがとうございます。

ss_julia

@miiton miiton self-assigned this Feb 17, 2019
@miiton
Copy link
Owner

miiton commented Feb 17, 2019

@machakann
グリフ(フォントファイル内の1字ずつのこと)単位で半角幅にしたり、全角幅にしたりというのは可能です。
試してみますので、スクリーンショットで頂いているJuliaの環境と再現コードを教えて頂いてもよいでしょうか?

@machakann
Copy link
Author

ありがとうございます。

julia と環境については versioninfo() の出力がこちらです。powershell 上で julia を使っています。

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, broadwell)

再現には十分大きい配列を表示すればいいので、zeros(100, 100)zeros(Int, 100, 100) を実行すれば上のスクリーンショットのようになります。

@miiton
Copy link
Owner

miiton commented May 23, 2019

PowerShell上のJuliaにCicaを適用する方法が分からず放置してしまっていました、すいません😭
出来るようになりまして、同じ事象を再現できました

Image 2019-05-23 21-52-21

@miiton
Copy link
Owner

miiton commented May 23, 2019

メモ

U+22EF が半角の3点なので、これを回転させて作ればいけそう

@miiton
Copy link
Owner

miiton commented May 23, 2019

参考画像、MSゴシック

win10  Running  2019-05-23 22-34-32

@miiton
Copy link
Owner

miiton commented May 26, 2019

😎

win10  Running  2019-05-26 20-53-25

@machakann
Copy link
Author

すごい!求めていたものがまさにここに…!

miiton added a commit that referenced this issue May 26, 2019
@miiton
Copy link
Owner

miiton commented May 26, 2019

#43 で継続対応しますのでクローズします

@miiton miiton closed this as completed May 26, 2019
miiton added a commit that referenced this issue May 27, 2019
miiton added a commit that referenced this issue May 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants