[GNC] GunCash 4.0 Paper Clip and Link glyphs for file/web transaction associations

John Ralls jralls at ceridwen.us
Fri Jul 3 23:01:48 EDT 2020


Each vendor has their own emoji-block glyphs. The one you're seeing looks pretty similar to https://emojipedia.org/microsoft/windows-10-may-2019-update/paperclip/.

As for why it's being drawn directly on the sheet, that's because the GnuCash register is substantially older that GtkTreeView. You might remember Register2, Bob Fewell's attempt to rewrite it to use GtkTreeView for GnuCash 2.6. He wasn't able to make it stable enough and set it aside. It's still in the codebase: Run gnucash --extra and the Extra menu has "Open Account with Register2".

Regards,
John Ralls


> On Jul 3, 2020, at 6:05 PM, Chris Good <goodchris96 at gmail.com> wrote:
> 
> Hi Adrien,
> 
> Wow, how did I not notice I used GunCash instead of GnuCash in the subject.
> 
> I wonder why the glyph is better in Linux than Windows - maybe some-one
> knows...
> I wonder if it is possible to somehow install the Ubuntu font or whatever
> contains the emoji section of Unicode into Windows.
> 
> The Ubuntu 'Character Map' application shows the glyphs in Unicode category:
> 'Symbol, Other' under Unicode Block 'Miscellaneous Symbols and Pictographs'.
> 
> I also wonder why GnuCash writes to the sheet directly rather than using a
> treeview?
> I'm currently trying to change it so there is a visual indication of an
> attachment without having to go into double line view.
> I cannot get it to make any difference using css but I can use code to
> change the font to Italic, so now I'm working on how to get it to do that to
> the Description only when there is an attachment. This seems the best I can
> do at the moment.
> 
> Regards, Chris Good
> 
> Message: 4
> Date: Fri, 3 Jul 2020 09:24:40 -0500
> From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
> To: GnuCash Users <gnucash-user at gnucash.org>
> Subject: Re: [GNC] 
> 	
> Message-ID: <38E5D134-3F25-4F25-AA5B-AF9ED7020901 at lusfiber.net>
> Content-Type: text/plain;	charset=utf-8
> 
> The glyphs are part of the emoji section of Unicode. I don?t expect changing
> the base font is going to affect them.
> 
> I?m not sure how to specify just an emoji set.
> 
> I?m also not sure if GTK CSS allows rotations and other transforms like web
> CSS, but you might give it a try. However, there doesn?t seem to be any CSS
> hook exposed for the cell where the glyphs are placed on the register sheet,
> so I don?t think you can target them with specificity.
> 
> Regards,
> Adrien
> 
>> On Jul 3, 2020 w27d185, at 3:31 AM, Chris Good <goodchris96 at gmail.com>
> wrote:
>> 
>> Has anyone figured out how to make the new paper clip and link glyphs 
>> look better in Windows 10?
>> 
>> In Linux Ubuntu 18.04 they look great but in Windows 10 they look 
>> pretty bad, especially the paper clip.
>> 
>> Please see attached.
>> 
>> 
>> 
>> C:\Users\cgood\AppData\Roaming\Gnucash\gtk-3.0.css contains :
>> 
>> * {
>> 
>>              font: 16px arial, sans-serif;
>> 
>> }
>> 
>> 
>> 
>> Changing the font from 'arial' *does* effect most characters but not 
>> the PaperClip or Link glyphs.
>> 
>> 
>> 
>> Here's the definition of the glyphs from 
>> src/gnucash/register/register-core/assoccell.h
>> 
>>     #define GLYPH_PAPERCLIP "\360\237\223\216" // Codepoint U+1F4CE
>> 
>>     #define GLYPH_LINK      "\360\237\224\227" // Codepoint U+1F517
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.



More information about the gnucash-user mailing list