all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28351: 26.0.50; Setting font to Iosevka Term picks incorrect font variant.
@ 2017-09-04 19:58 Diego A. Mundo
  2017-09-05 16:19 ` Diego A. Mundo
  0 siblings, 1 reply; 2+ messages in thread
From: Diego A. Mundo @ 2017-09-04 19:58 UTC (permalink / raw
  To: 28351

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

I'm using the Iosevka font: https://github.com/be5invis/Iosevka
With the following build:

make custom-config set=term design='term v-asterisk-low' italic='v-i-serifed v-l-serifed v-a-doublestorey v-g-doublestorey'
make custom set=term

When I tell emacs to use the font "Iosevka Term-9.5" (either with Emacs.font in .Xresources, or set-frame-font, or set-face-attribute 'default...) and use M-x describe-font, I can see that Emacs picks the medium variants instead of the regular one. I can't seem to be able to make any change to the name or within emacs (playing with width/weight/size attributes) to get it to use the regular variant, unless I delete the medium variant. I'm not really sure what's going on here - I know this only happens in Emacs (using "Iosevka Term" as the font specifier for other programs makes them pick the regular variant).

[-- Attachment #2: Type: text/html, Size: 1002 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#28351: 26.0.50; Setting font to Iosevka Term picks incorrect font variant.
  2017-09-04 19:58 bug#28351: 26.0.50; Setting font to Iosevka Term picks incorrect font variant Diego A. Mundo
@ 2017-09-05 16:19 ` Diego A. Mundo
  0 siblings, 0 replies; 2+ messages in thread
From: Diego A. Mundo @ 2017-09-05 16:19 UTC (permalink / raw
  To: 28351@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

Based on this answer: https://emacs.stackexchange.com/questions/32377/selecting-correct-font-weight-variant-linux# I've found that by using "weight=book" I can make Emacs choose the regular variant. Still, it's odd that Emacs would choose the medium one when no such specification was given, especially since that's inconsistent with fontconfig (even if Emacs doesn't use it, I'd expect similar behavior at least).

[-- Attachment #2: Type: text/html, Size: 688 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-05 16:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 19:58 bug#28351: 26.0.50; Setting font to Iosevka Term picks incorrect font variant Diego A. Mundo
2017-09-05 16:19 ` Diego A. Mundo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.