From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: An unwonted warning I constantly get about fontsets when I start Emacs
Date: Sat, 27 May 2017 14:52:15 +0300 [thread overview]
Message-ID: <ygmd1au5xg0.fsf@xi> (raw)
In-Reply-To: <83efvaiqku.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 27 May 2017 12:42:09 +0300")
[-- Attachment #1: Type: text/plain, Size: 1697 bytes --]
On 2017-05-27 12:42 +03, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Göktuğ Kayaalp <self@gkayaalp.com>
>> Date: Sat, 27 May 2017 12:22:22 +0300
>>
>> [...]
>> Error (initialization): Creation of the default fontsets failed:
>> (error Invalid script or charset name: old-italic)
>>
>> [...]
> Please show your fontset-related customizations.
I don't have any such customisations in Emacs. Just setting the font
for some faces here and there:
,----
| (add-hook 'org-mode-hook
| (lambda ()
| (dotimes (n 7)
| (set-face-attribute
| (intern (concat "org-level-" (number-to-string (1+ n))))
| nil :family (gk-font :sans) :overline nil))))
|
| (set-face-attribute 'default nil
| :height gk-font-default-height
| :family (gk-font :mono)
| :weight 'light)
|
| (set-face-attribute 'variable-pitch nil
| :height (+ 20 gk-font-default-height)
| :family (gk-font :serif))
|
| (loop for attr in '(mode-line mode-line-inactive) do
| (set-face-attribute attr nil
| :height (- gk-font-default-height 10)
| :family (gk-font :sans)
| :weight 'normal))
|
| (set-face-attribute 'header-line nil
| :family (gk-font :mono)
| :height gk-font-default-height)
|
| (set-face-attribute 'forecast-moon-phase nil
| :font (gk-font :forecast-moon-phase))
`----
I also have this config file:
~/.config/fontconfig/fonts.conf:
[-- Attachment #2: fontconfig --]
[-- Type: text/plain, Size: 3089 bytes --]
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Font configuration
-->
<fontconfig>
<!-- https://wiki.archlinux.org/index.php/Font_configuration -->
<!-- Antialiasing -->
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool> </edit> </match>
<!-- Hinting -->
<match target="font">
<edit name="hinting" mode="assign">
<bool>true</bool> </edit> </match>
<match target="font">
<edit name="hintstyle" mode="assign">
<const>hintfull</const> </edit> </match>
<!-- Subpixel rendering -->
<match target="font">
<!-- Other options: bgr, vrgb, vbgr -->
<edit name="rgba" mode="assign"> <const>rgb</const> </edit>
</match>
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const> </edit> </match>
<!-- Replace generic bitmap font names by generic font families -->
<match target="pattern">
<test name="family" qual="any">
<string>Serif</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Serif</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Charis</string> </test>
<edit mode="assign" name="family">
<string>Charis SIL</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Times</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Serif</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Sans-serif</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Helvetica</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Arial</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Courier</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans Mono</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Consolas</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans Mono</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Lucida Console</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans Mono</string> </edit> </match>
<match target="pattern">
<test name="family" qual="any">
<string>Monaco</string> </test>
<edit mode="assign" name="family">
<string>DejaVu Sans Mono</string> </edit> </match>
<!-- Forcibly disable embedded bitmaps. -->
<match target="font">
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool> </edit> </match>
</fontconfig>
<!-- Local variables: -->
<!-- mode: xml -->
<!-- End: -->
next prev parent reply other threads:[~2017-05-27 11:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-27 9:22 An unwonted warning I constantly get about fontsets when I start Emacs Göktuğ Kayaalp
2017-05-27 9:42 ` Eli Zaretskii
2017-05-27 11:52 ` Göktuğ Kayaalp [this message]
2017-05-27 13:37 ` Eli Zaretskii
2017-05-27 13:44 ` Göktuğ Kayaalp
2017-05-27 14:09 ` Eli Zaretskii
2017-05-27 22:27 ` Göktuğ Kayaalp
2017-05-28 4:15 ` Eli Zaretskii
2017-05-28 4:33 ` Eli Zaretskii
2017-05-28 7:56 ` tomas
2017-05-28 15:01 ` Eli Zaretskii
2017-05-28 13:14 ` Göktuğ Kayaalp
2017-05-28 14:32 ` Göktuğ Kayaalp
2017-05-28 15:41 ` Eli Zaretskii
2017-05-28 18:14 ` Göktuğ Kayaalp
2017-05-28 13:16 ` Göktuğ Kayaalp
-- strict thread matches above, loose matches on Subject: below --
2017-05-27 9:25 Göktuğ Kayaalp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ygmd1au5xg0.fsf@xi \
--to=self@gkayaalp.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.