Place the following in the Embedded CSS section of the Notes tab under the 
invoice’s options:


        * {font: “name of font"; }


This will change the font on the entire invoice. It should then render the INR 
currency symbol. If the font name has spaces, you must enclose it in “”.

If you only want to affect the header and actual invoice table (and not the 
notes section) use this:


        table {font: “name of font"; }


Note, that you can also specify a different font size, style (like bold and/or 
italics) and even color like so:


        * {font: “Arial" 1.5em bold italics; color: blue; }


(an ‘em’ is a relative unit for font sizes. 1 ‘em’ is 100% of whatever the base 
style was. Or you can use px or pt such as 16px or 16pt if you prefer.)

If you want to target only cells with currency values this *might* work:


        table.entries td > nobr:first-child { font: “name of font"; }


Also note, I don’t see a way to edit this permanently so you’d have to insert 
it for every invoice. (perhaps saving the report config and then specifying a 
different invoice number might do the trick) Otherwise, you’d have to edit 
taxinvoice.css but that will get overwritten when you update Gnucash to the 
next version.

Hope that helps.

Regards,
Adrien

> On Jan 19, 2019, at 7:25 AM, Deva - <pobox.d...@outlook.in> wrote:
> 
> Adrien,
> 
> I am happy to raise a bug, but after reading all responses on this issue, 
> perhaps it’s not a bug even.
> 
> Geert and you pointed out that the report can be changed using CSS styling, 
> so someone with that know-how may be able to get what they want. I am ok with 
> the workaround for now.
> 
> Besides, if I recall correctly, Christopher also mentioned that since Tax 
> Invoice report is eguile-based, it’s unlikely to be maintained. I am not even 
> sure what eguile is, but I seem to like the presentation, flexibility and 
> layout of both the balance sheet and tax invoice reports. So it’s unfortunate 
> that the eguile reports may be going away soon.
> 
> Cheers.
> 
> On 19-Jan-2019, at 6:38 PM, 
> <gnucash-user-requ...@gnucash.org<mailto:gnucash-user-requ...@gnucash.org>> 
> <gnucash-user-requ...@gnucash.org<mailto:gnucash-user-requ...@gnucash.org>> 
> wrote:
> 
> Date: Sat, 19 Jan 2019 06:25:38 -0600
> From: Adrien Monteleone 
> <adrien.montele...@lusfiber.net<mailto:adrien.montele...@lusfiber.net>>
> To: "gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>" 
> <gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org>>
> Subject: Re: [GNC] Currency symbol (INR) not showing on Tax Invoice
> report
> Message-ID: 
> <14328ebb-6e35-4081-b534-92a928a85...@lusfiber.net<mailto:14328ebb-6e35-4081-b534-92a928a85...@lusfiber.net>>
> Content-Type: text/plain; charset=utf-8
> 
> Glad to hear you can get the info you need, sorry to hear the suggestion 
> doesn?t work.
> 
> I?d say this is bug worthy.
> 
> Regards,
> Adrien
> 
> On Jan 19, 2019, at 5:53 AM, Deva - 
> <pobox.d...@outlook.in<mailto:pobox.d...@outlook.in>> wrote:
> 
> Adrien,
> 
> Thanks for the pointer on how to figure the font associated with a symbol. 
> Yes, I now see the names of all fonts for the various rupee symbols 
> (including Helvetica).
> 
> However, when I edit the default stylesheet to use any of the the available 
> rupee symbol fonts (I tried a couple of them - there were too many to try all 
> of them), the tax invoice report still doesn?t show the symbol.
> 
> So for now, I am afraid I have to stick with the text version of the symbol.
> 
> Cheers.
> 
> On 18-Jan-2019, at 10:30 PM, 
> gnucash-user-requ...@gnucash.org<mailto:gnucash-user-requ...@gnucash.org><mailto:gnucash-user-requ...@gnucash.org>
>  wrote:
> 
> Date: Fri, 18 Jan 2019 08:25:54 -0600
> From: Adrien Monteleone 
> <adrien.montele...@lusfiber.net<mailto:adrien.montele...@lusfiber.net><mailto:adrien.montele...@lusfiber.net>>
> To: 
> "gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org>"
>  
> <gnucash-user@gnucash.org<mailto:gnucash-user@gnucash.org><mailto:gnucash-user@gnucash.org>>
> Subject: Re: [GNC] Currency symbol (INR) not showing on Tax Invoice
> report
> Message-ID: 
> <b2a1446e-3d35-4cde-acde-6bd5ce65f...@lusfiber.net<mailto:b2a1446e-3d35-4cde-acde-6bd5ce65f...@lusfiber.net><mailto:b2a1446e-3d35-4cde-acde-6bd5ce65f...@lusfiber.net>>
> Content-Type: text/plain; charset=utf-8
> 
> In Character Viewer, look up the rupee symbol via a search. Click the glyph 
> for it in the middle pane. You?ll then see a list of font variations on the 
> bottom right. As you click each one, at the top right you?ll get an enlarged 
> version and just below that, you?ll see the name of the font it belongs to.
> 
> Regards,
> Adrien
> 
> On Jan 18, 2019, at 6:06 AM, Deva - 
> <pobox.d...@outlook.in<mailto:pobox.d...@outlook.in><mailto:pobox.d...@outlook.in>>
>  wrote:
> 
> Geert is probably right.
> 
> As I mentioned in my previous post, I did try to change the default 
> stylesheet fonts to a few commonly used fonts in documents 
> (Arial/Helvetica/MS Sans Serif), but rupee symbol didn?t come up for any of 
> them.
> 
> I can see from the character viewer on my Mac that there are a number of 
> variations of the rupee symbol available, but I can?t figure out which font 
> is used on each of those variations. So for the time being I have changed the 
> symbol to text (INR) in the currency editor.
> 
> Cheers.
> 
> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@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.


_______________________________________________
gnucash-user mailing list
gnucash-user@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.

Reply via email to