Re: [code] [textadept] Module with font

From: Mitchell <m.att.foicica.com>
Date: Sat, 27 Feb 2016 16:43:11 -0500 (EST)

Hi Robert,

On Sat, 27 Feb 2016, Robert Gieseke wrote:

> Hi,
>
> I've been thinking about shipping a Textadept module with a font.
> Apparently I would need to add to the font path with something like
> `FcConfigAppFontAddDir` or work with environment variables[1]. Is there
> a way to tell Scintilla to use a font file from a full path?
>
> I can of course add install instructions but simplifying the
> installation process would be nice.

I'm pretty sure Scintilla uses Pango's font cache for obtaining system
fonts. So if you can find a way to tell Pango (or perhaps GTK) about your
font, then that should work. I'm afraid I'm pretty ignorant when it comes
to this sort of thing.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 27 Feb 2016 - 16:43:11 EST

This archive was generated by hypermail 2.2.0 : Sun 28 Feb 2016 - 06:28:16 EST