-
Notifications
You must be signed in to change notification settings - Fork 6
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
eelll の初回起動時にフォント読みこみエラー #10
Comments
最近は --- a/eelll.el
+++ b/eelll.el
@@ -107,7 +107,7 @@
'((t (:font "default"
:foreground "black"
:background "white")))
- '((t (:font "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-*-*"
+ '((t (:font "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
:foreground "black"
:background "white"))))
"*一行ヘルプを使った EELLL でのヘルプのフェイス"
@@ -146,7 +146,7 @@
'((name . "EELLL")
(font . "default"))
'((name . "EELLL")
- (font . "-*-fixed-medium-r-normal-*-16-*-*-*-*-*-*-*")))
+ (font . "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default")))
"*`eelll-other-frame'で用いるフレームのパラメータ。")
(defvar eelll-bushu-stroke-alist とかでも直りそうな気がします。 |
(let ((fontspec ":spacing=m"))
(setq eelll-frame-parameters
`((name . "EELLL")
(font . ,fontspec)))
(setq tcode-help-with-real-keys t)
(setq eelll-face nil)
(delete-frame eelll-frame)
(defface eelll-face
`((t (:font ,fontspec
:foreground "black"
:background "white")))
"*一行ヘルプを使った EELLL でのヘルプのフェイス"
:group 'eelll)
(eelll-other-frame)) |
これをテストしていて気がついたんですが, いま |
@ujimushi こちらWindowsでどのようになるか試していただけませんか。こちらだと環境がないもので |
すみません。提示されているコードをどこに追加したらよいかもよく分かってなくて… |
あ,scratchバッファで試しているということですかね。
|
家に帰ってから26.1,25.3,24.4,23.4で試しましたが 自分でビルドしたバイナリはOS標準ではない変なフォントを選ぶ傾向があるのは少し面白かったです。 |
わたしもはっきり挙動をわかっているわけではないですが、エラーが出ず、大きく表示がずれていなければ大丈夫かなと思っています。 |
#8 で, 話題が出ていますが, eelll の初回起動時に以下のようなエラーが出ています.
多分, 固定幅フォントをfaceにのせているんでしょうか? 現代的には, XFTのようなフォント指定にした方がよいかなという気がします. (Windows, Macでも同様に動くかな…)
The text was updated successfully, but these errors were encountered: