help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Font Rendering Issues


From: Tim Schumacher
Subject: Re: [h-e-w] Font Rendering Issues
Date: Tue, 01 Jan 2019 14:42:48 +0100
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO)

On Tue, 01 Jan 2019 14:31:10 +0100,
Tim Schumacher wrote:

> What is a bit strange, that on linux, emacs uses „DevaVu Sans“ to display 
> these
> characters:
> 
> character: ? (displayed as ?) (codepoint 10236, #o23774, #x27fc)
>     preferred charset: unicode (Unicode (ISO10646))
> code point in charset: 0x27FC
>                script: symbol
>                syntax: w   which means: word
>              category: .:Base
>              to input: type "C-x 8 RET 27fc" or "C-x 8 RET LONG RIGHTWARDS 
> ARROW FROM BAR"
>           buffer code: #xE2 #x9F #xBC
>             file code: #xE2 #x9F #xBC (encoded by coding system utf-8-unix)
>               display: by this font (glyph code)
>     xft:-PfEd-DejaVu Sans-normal-normal-normal-*-24-*-*-*-*-0-iso10646-1 
> (#x1058)
> 
> I would rather use DejaVu than Symbola, because the symbols look nicer. Is 
> there
> a way to get uniscribe to use another font than symbola to render these 
> glyphs?

Solved this now this way:

https://gist.github.com/enko/69718a4381176ead2d9b288dbcc9eaa9

What I did was, that I took the code that takes Symbola and replaced it with
DejaVu Sans:

https://github.com/emacs-mirror/emacs/blob/f18af6cd5cb7dbbf7420ec2d3efed4e202c4f0dd/lisp/international/fontset.el#L830

Thanks

Tim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]