[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An unwonted warning I constantly get about fontsets when I start Ema
From: |
Göktuğ Kayaalp |
Subject: |
Re: An unwonted warning I constantly get about fontsets when I start Emacs |
Date: |
Sat, 27 May 2017 14:52:15 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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:
<?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: -->
- An unwonted warning I constantly get about fontsets when I start Emacs, Göktuğ Kayaalp, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs,
Göktuğ Kayaalp <=
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Göktuğ Kayaalp, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Göktuğ Kayaalp, 2017/05/27
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/28
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/28
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, tomas, 2017/05/28
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Eli Zaretskii, 2017/05/28
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Göktuğ Kayaalp, 2017/05/28
- Re: An unwonted warning I constantly get about fontsets when I start Emacs, Göktuğ Kayaalp, 2017/05/28