Hi,

I have an issue with directx rendered fonts on a Windows system. This is 
caused when trying to use fonts, that I have only installed using the 
regfont (https://github.com/dcpurton/regfont/) tool as an unprivileged 
user because I don't have the rights to correctly install the fonts 
sysstemwide. In this case, no fonts are rendered and all text vanishes 
from gvim.

After having checked with the author from regfont¹ it seems, the problem 
is, that CreateFontFromLOGFONT does not work with fonts, that have been 
added with AddFontRessource. In that case, an error should be reported 
rather than trying to use an invalid font.

I would have created a proper patch, but don't know Windows API very 
well, but I'd like to mention the issue here. I hope the details from 
the issue contain enough information to properly fix this issue.

¹https://github.com/dcpurton/regfont/issues/1

Best,
Christian
-- 
Es ist geglückt, das Gen für die Schüchternheit zu finden. Das war nicht
einfach, weil es sich hinter vielen anderen Genen versteckt hatte.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui