Re: [dev] [st] [patch] If no Glyph Found, Do Not Keep a Font Loaded

2018-03-21 Thread Gary Allen Vollink
ed for an already opened font (fixed)! I am still NOT advocating this. Fontconfig sucks. Again, I hope I've helped illuminate the issues. If you have questions, feel free to ask and I'll try to help. Thank you, Gary Allen Vollink On Wed, Mar 21, 2018 at 4:56 PM, Gary Allen Vollink

Re: [dev] [st] [patch] If no Glyph Found, Do Not Keep a Font Loaded

2018-03-21 Thread Gary Allen Vollink
opened up "Segoe UI Symbol". # Since THAT copy of "Source Code Pro" isn't on screen this never caused harm. # (it was only held open to keep track of "\xf0\xab\xa0\xaf") # That means, though, that printing anything new that doesn't use an already open font

[dev] [st] [patch] If no Glyph Found, Do Not Keep a Font Loaded

2018-03-21 Thread Gary Allen Vollink
This patch is over my previous simplification patch (https://lists.suckless.org/dev/1803/32601.html), though it could be reworked to go in without it. Problem: When working with text from many languages, it does not take long to run out of font slots for Runes that do not exist within any giv

[dev] [st] [patch] Move font/rune negotiation

2018-03-21 Thread Gary Allen Vollink
The following patch is simplification only.  It puts rune lookup directly into the function that does font loading. I have a forthcoming patch that sits on top of this that fixes a rare crash situation.  This one stands alone, and because it overall removes code I feel it should be considered s

[dev] [st] [macOS] Emoji Characters Fixed for High Sierra

2017-10-22 Thread Gary Allen Vollink
: ⎇ : ALTERNATIVE KEY SYMBOL 238c: ⎌ : UNDO SYMBOL 2393: ⎓ : DIRECT CURRENT SYMBOL FORM TWO 2397: ⎗ : PREVIOUS PAGE 2399: ⎙ : PRINT SCREEN SYMBOL 239a: ⎚ : CLEAR SCREEN SYMBOL 23ce: ⏎ : RETURN SYMBOL 23cf: ⏏ : EJECT SYMBOL 2487: ⒇ : PARENTHESIZED NUMBER TWENTY Thank you, Gary Allen

Re: [dev] [st] Unable to map Ctrl+$NUMBER

2017-10-09 Thread Gary Allen Vollink
either. I didn't put a huge amount of time, but I'm hoping my observation might help you trace this. Thanks, Gary On Mon, Oct 9, 2017 at 1:32 PM, Eric Pruitt wrote: > I would like to create custom mappings for pressing Control with a > digit. I added this binding for Ctrl+1 to the

Re: [dev] [st] Font Cache handling, attached patch

2017-10-04 Thread Gary Allen Vollink
> On Oct 2, 2017, at 10:06 PM, Gary Allen Vollink wrote: > > I noticed the following AFTER I sent the initial patch. I seriously > doubt that this is new or unexpected behavior since the frc member > unicodep is used to catch the individual rune that a font was opened > for (

Re: [dev] [st] Font Cache handling, attached patch

2017-10-02 Thread Gary Allen Vollink
is situation (it will cut down on open-then-close), by expanding this patch or in a completely separate patch. The problem is a growing list of not-found makes for code that sucks (using ever more memory over time). wchar_t isn't huge, but these Unicode ranges are particularly large. Thank

[dev] [st] Font Cache handling, attached patch

2017-10-01 Thread Gary Allen Vollink
. In addition to the fix attached, the fix for this under macOS seems to be in .fonts.conf, so I won't bother with further details. (Feel free to reach out off-list if you want more info). Thank you, Gary Allen --- a/x.c 2017-09-30 15:46:51.713848500 -0400 +++ b/x.c 2017-10-01 16:59

Re: [dev] [st] Colored glyphs

2017-10-01 Thread Gary Allen Vollink
Menche, I wrote about the width problem here [0] and came to the conclusion that it can't be properly fixed within any terminal program: [0] https://lists.suckless.org/dev/1709/32306.html Thank you, Gary Allen On Sun, Oct 1, 2017 at 1:20 AM, Menche wrote: > On Sat, 30 Sep 2017 23:52:

Re: [dev] [st] Colored glyphs

2017-10-01 Thread Gary Allen Vollink
o this yet. The only terminal I've seen color emoji work in is Terminal.App on macOS - which is proprietary and not even an X application.. Thank you, Gary Allen On Sat, Sep 30, 2017 at 5:52 PM, Janne Heß wrote: > Hello everyone, > > I was wondering if glyphs with an own c

[dev] [st] Refactoring Patch from hackers list

2017-09-30 Thread Gary Allen Vollink
There was a fairly sizable patch sent into the [hackers] list (not by me) https://lists.suckless.org/hackers/1709/15554.html I'm wondering if there is a plan to put this into the repository, or if it only exists on-list. Thank you, Gary Allen

Re: [dev] Privilege escalation on remote hosts. MANY remote hosts.

2017-09-26 Thread Gary Allen Vollink
y well may not be true for everyone, and for some, clearly, a not-C project on suckless.org would be seen as being against what suckless.org stands for. That makes sense to me. This place is for C. Not-C have many robust communities where such projects would be welcome. Thank you, Gary Allen

Re: [dev] [st] Emojis

2017-09-17 Thread Gary Allen Vollink
the additional functionality to deal with full-color emoji fonts - which seems way beyond scope of any terminal built to have less suck. Thank you, Gary Allen

Re: [dev] [st] macOS: Wide Asian Glyphs

2017-09-15 Thread Gary Allen Vollink
ll not to print out anything that isn't acceptable to the locale, (!iswprint(u)) near the top of tputc(), and I'll just learn to live with emoji overwriting each-other when they are printed without actual spaces between them. Thank you, Gary Allen Vollink On Thu, Sep 14, 2017 at 4:53 PM, Er

[dev] [st] macOS: Wide Asian Glyphs

2017-09-14 Thread Gary Allen Vollink
n't even work right in Terminal.app). Anyway, it is something I could throw together as a diff - sub 40 lines. I don't have a handle on what the protocol is for sharing such a thing. Thanks, Gary Allen Vollink

[dev] [dwm] Patches for Multiple Monitors

2014-03-24 Thread -Gary-
Thanks for your time and attention. -- Gary -- /* Gary B. Genett * Seattle, WA */ >From 143e7f2f3caa047469c7219cd6b0cb704466683f Mon Sep 17 00:00:00 2001 From: "Gary B. Genett" Date: Mon, 24 Mar 2014 13:47:59 -0700 Subject: added monitor marker to bar MIME-Version: 1.0 C