[Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
/rhn/account/LocalePreferences.do - in 21st century and utf8 fonts, do we need pictures with text in national alphabets (if you select hindi as webui language, we have to use some fonts supporting hindi anyway), therefore getting rid of images would be really nice? I looked briefly into this and I have a patch. However there is a problem. The normal fonts are not that complete so even if hindi shows correctly with their alphabet, korean and other do not. This can be fixed by adding another font that is complete (like gnu unifont) and generate a css style that would apply that font only in that section of the page. However unifont .ttf is 14M. I am pretty sure that one could generate a subset of the font but I haven't looked into that yet. It should be possible with the build system of those fonts. Options? - We look into generating a font with the symbols we need? - We keep using images but may be improve them? - ??? -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
On 11/28/2013 09:09 AM, Duncan Mac-Vicar P. wrote: I am pretty sure that one could generate a subset of the font but I haven't looked into that yet. It should be possible with the build system of those fonts. I am not an expert but it looks like the ttfsubset utility in FontUtils can do that: http://scripts.sil.org/cms/scripts/page.php?item_id=fontutils In SUSE operating systems it is part of the perl-Font-TTF package. HTH, -- Silvio Moioli SUSE LINUX Products GmbH Maxfeldstraße 5, 90409 Nürnberg Germany ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
Duncan Mac-Vicar P. wrote: % /rhn/account/LocalePreferences.do - in 21st century and utf8 fonts, do % we need pictures with text in national alphabets (if you select hindi as % webui language, we have to use some fonts supporting hindi anyway), % therefore getting rid of images would be really nice? % % I looked briefly into this and I have a patch. However there is a % problem. The normal fonts are not that complete so even if hindi shows % correctly with their alphabet, korean and other do not. % % This can be fixed by adding another font that is complete (like gnu % unifont) and generate a css style that would apply that font only in % that section of the page. However unifont .ttf is 14M. I am pretty sure % that one could generate a subset of the font but I haven't looked into % that yet. It should be possible with the build system of those fonts. Hi Duncan, Is that 10KB of images really that ugly / big problem that we need to replace them with 14MB ttf font? I don't think so. % Options? % - We look into generating a font with the symbols we need? Even when the font will include only necessary characters will it be smaller than current images? % - We keep using images but may be improve them? If it's just about good-looking labels I'd vote for new images based on font which looks nice with the rest of the page. % - ??? Regards, -- Michael Mráka Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
On Thu, Nov 28, 2013 at 02:55:59PM +0100, Michael Mraka wrote: Is that 10KB of images really that ugly / big problem that we need to replace them with 14MB ttf font? I don't think so. I am wondering what is the problem of once downloading 14MB in a datacenter, usually local network? It looks big vs gifs, but the benefit is incomparable. -- Bo Maryniuk SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg) GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer Love your enemies.. it makes them mad. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
On 28/11/13 14:55, Michael Mraka wrote: Duncan Mac-Vicar P. wrote: % /rhn/account/LocalePreferences.do - in 21st century and utf8 fonts, do % we need pictures with text in national alphabets (if you select hindi as % webui language, we have to use some fonts supporting hindi anyway), % therefore getting rid of images would be really nice? % % I looked briefly into this and I have a patch. However there is a % problem. The normal fonts are not that complete so even if hindi shows % correctly with their alphabet, korean and other do not. % % This can be fixed by adding another font that is complete (like gnu % unifont) and generate a css style that would apply that font only in % that section of the page. However unifont .ttf is 14M. I am pretty sure % that one could generate a subset of the font but I haven't looked into % that yet. It should be possible with the build system of those fonts. Hi Duncan, Is that 10KB of images really that ugly / big problem that we need to replace them with 14MB ttf font? I don't think so. It does not bother me, but someone wrote it on the wiki page :-) -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Using fonts in /rhn/account/LocalePreferences.do
On 28/11/13 15:06, Bo Maryniuk wrote: On Thu, Nov 28, 2013 at 02:55:59PM +0100, Michael Mraka wrote: Is that 10KB of images really that ugly / big problem that we need to replace them with 14MB ttf font? I don't think so. I am wondering what is the problem of once downloading 14MB in a datacenter, usually local network? It looks big vs gifs, but the benefit is incomparable. I think in this case, for one page, and 10 language names, the use of a font is overkill. There is no real benefit apart of the scaling. -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel