Icon fonts in SM & FF

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Icon fonts in SM & FF

Lewis Rosenthal-2
Greetings, all...

This icon font thing i driving me nuts.

It seems like every web developer is going ga-ga over "responsive"
themes these days (instead of focusing on "responsive" themes for only
mobile devices), and now WordPress 3.8 has decided that we all need
"responsiveness" added to the admin UI, which of course, includes these
g-d-awful icon fonts which don't render consistently. (I'm kind of
working around much of that in WordPress, using the Classic Admin
plugin, which makes the admin UI look more like 3.7.)

I do have the preference set to download fonts, and I've even unset my
desired minimum font size, and still (of course), I get these blasted
little rectangles with the digits in them instead of the glyphs I need
(because with responsiveness, somehow we lose tooltips, but I digress).

References:

https://bugzilla.mozilla.org/show_bug.cgi?id=789788
https://support.mozilla.org/en-US/questions/947228?page=1
http://fortawesome.github.io/Font-Awesome/

I'm currently using SM 2.7.2.12 and the corresponding FF (I haven't
checked under FF 17, however).

I've checked proxy (I use Privoxy, chained from Squid, locally, and a
second Squid at the firewall), and as I see this on other "classic"
browsers on other platforms, I'm fairly certain it's not isolated to my
setup.

Ideas?

TIA

--
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS, EA
Rosenthal & Rosenthal, LLC                www.2rosenthals.com
Need a managed Wi-Fi hotspot?                www.hautspot.com
visit my IT blog                www.2rosenthals.net/wordpress
-------------------------------------------------------------
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Dave Yeo-3
On 02/04/14 07:58 am, Lewis Rosenthal wrote:

> Greetings, all...
>
> This icon font thing i driving me nuts.
>
> It seems like every web developer is going ga-ga over "responsive"
> themes these days (instead of focusing on "responsive" themes for only
> mobile devices), and now WordPress 3.8 has decided that we all need
> "responsiveness" added to the admin UI, which of course, includes these
> g-d-awful icon fonts which don't render consistently. (I'm kind of
> working around much of that in WordPress, using the Classic Admin
> plugin, which makes the admin UI look more like 3.7.)
>
> I do have the preference set to download fonts, and I've even unset my
> desired minimum font size, and still (of course), I get these blasted
> little rectangles with the digits in them instead of the glyphs I need
> (because with responsiveness, somehow we lose tooltips, but I digress).
>
> References:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=789788
> https://support.mozilla.org/en-US/questions/947228?page=1
> http://fortawesome.github.io/Font-Awesome/
>
> I'm currently using SM 2.7.2.12 and the corresponding FF (I haven't
> checked under FF 17, however).
>
> I've checked proxy (I use Privoxy, chained from Squid, locally, and a
> second Squid at the firewall), and as I see this on other "classic"
> browsers on other platforms, I'm fairly certain it's not isolated to my
> setup.
>
> Ideas?
>

The problem seems to be that sites are using @FONT to download custom
fonts and use them as icons instead of using SVG to draw icons. The
problem is our port does not support @FONT.
Unless someone adds the @FONT support to our port I guess we're stuck
with those ugly rectangles. Dmitri might get around to it eventually but
currently he's busy just trying to get plugins working on 17esr, then
he'll probably be busy updating to 24esr and who knows what other issues
might side track him.
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Lewis Rosenthal-2
In reply to this post by Lewis Rosenthal-2
On 02/04/14 01:36 pm, Dave Yeo thus wrote :

> On 02/04/14 07:58 am, Lewis Rosenthal wrote:
>> Greetings, all...
>>
>> This icon font thing i driving me nuts.
>>
>> It seems like every web developer is going ga-ga over "responsive"
>> themes these days (instead of focusing on "responsive" themes for only
>> mobile devices), and now WordPress 3.8 has decided that we all need
>> "responsiveness" added to the admin UI, which of course, includes these
>> g-d-awful icon fonts which don't render consistently. (I'm kind of
>> working around much of that in WordPress, using the Classic Admin
>> plugin, which makes the admin UI look more like 3.7.)
>>
>> I do have the preference set to download fonts, and I've even unset my
>> desired minimum font size, and still (of course), I get these blasted
>> little rectangles with the digits in them instead of the glyphs I need
>> (because with responsiveness, somehow we lose tooltips, but I digress).
>>
>> References:
>>
>> https://bugzilla.mozilla.org/show_bug.cgi?id=789788
>> https://support.mozilla.org/en-US/questions/947228?page=1
>> http://fortawesome.github.io/Font-Awesome/
>>
>> I'm currently using SM 2.7.2.12 and the corresponding FF (I haven't
>> checked under FF 17, however).
>>
>> I've checked proxy (I use Privoxy, chained from Squid, locally, and a
>> second Squid at the firewall), and as I see this on other "classic"
>> browsers on other platforms, I'm fairly certain it's not isolated to my
>> setup.
>>
>> Ideas?
>>
>
> The problem seems to be that sites are using @FONT to download custom
> fonts and use them as icons instead of using SVG to draw icons. The
> problem is our port does not support @FONT.
> Unless someone adds the @FONT support to our port I guess we're stuck
> with those ugly rectangles. Dmitri might get around to it eventually but
> currently he's busy just trying to get plugins working on 17esr, then
> he'll probably be busy updating to 24esr and who knows what other issues
> might side track him.
>
Aha! Thanks, Dave. As has been mentioned on numerous outlets around the
net, this would be a great plugin (extension) idea for some enterprising
young whippersnapper. That, and shooting the developers who decided to
do this in the first place!

Cheers

--
Lewis
-------------------------------------------------------------
Lewis G Rosenthal, CNA, CLP, CLE, CWTS
Rosenthal & Rosenthal, LLC                www.2rosenthals.com
Need a managed Wi-Fi hotspot?                www.hautspot.com
visit my IT blog                www.2rosenthals.net/wordpress
-------------------------------------------------------------
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Dave Yeo-3
Lewis Rosenthal wrote:

> On 02/04/14 01:36 pm, Dave Yeo thus wrote :
>> On 02/04/14 07:58 am, Lewis Rosenthal wrote:
>>> Greetings, all...
>>>
>>> This icon font thing i driving me nuts.
>>>
>>> It seems like every web developer is going ga-ga over "responsive"
>>> themes these days (instead of focusing on "responsive" themes for only
>>> mobile devices), and now WordPress 3.8 has decided that we all need
>>> "responsiveness" added to the admin UI, which of course, includes these
>>> g-d-awful icon fonts which don't render consistently. (I'm kind of
>>> working around much of that in WordPress, using the Classic Admin
>>> plugin, which makes the admin UI look more like 3.7.)
>>>
>>> I do have the preference set to download fonts, and I've even unset my
>>> desired minimum font size, and still (of course), I get these blasted
>>> little rectangles with the digits in them instead of the glyphs I need
>>> (because with responsiveness, somehow we lose tooltips, but I digress).
>>>
>>> References:
>>>
>>> https://bugzilla.mozilla.org/show_bug.cgi?id=789788
>>> https://support.mozilla.org/en-US/questions/947228?page=1
>>> http://fortawesome.github.io/Font-Awesome/
>>>
>>> I'm currently using SM 2.7.2.12 and the corresponding FF (I haven't
>>> checked under FF 17, however).
>>>
>>> I've checked proxy (I use Privoxy, chained from Squid, locally, and a
>>> second Squid at the firewall), and as I see this on other "classic"
>>> browsers on other platforms, I'm fairly certain it's not isolated to my
>>> setup.
>>>
>>> Ideas?
>>>
>>
>> The problem seems to be that sites are using @FONT to download custom
>> fonts and use them as icons instead of using SVG to draw icons. The
>> problem is our port does not support @FONT.
>> Unless someone adds the @FONT support to our port I guess we're stuck
>> with those ugly rectangles. Dmitri might get around to it eventually but
>> currently he's busy just trying to get plugins working on 17esr, then
>> he'll probably be busy updating to 24esr and who knows what other issues
>> might side track him.
>>
> Aha! Thanks, Dave. As has been mentioned on numerous outlets around the
> net, this would be a great plugin (extension) idea for some enterprising
> young whippersnapper. That, and shooting the developers who decided to
> do this in the first place!
>
> Cheers
>

I notice that loading github in qupzilla shows the icons that SM renders
as missing glyph rectangles. You might want to test on other sites.
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Alex Taylor
In reply to this post by Lewis Rosenthal-2
On Tue, 4 Feb 2014 18:36:19 UTC, Dave Yeo <[hidden email]> wrote:

> > It seems like every web developer is going ga-ga over "responsive"
> > themes these days (instead of focusing on "responsive" themes for only
> > mobile devices), and now WordPress 3.8 has decided that we all need
> > "responsiveness" added to the admin UI, which of course, includes these
> > g-d-awful icon fonts which don't render consistently. (I'm kind of
> > working around much of that in WordPress, using the Classic Admin
> > plugin, which makes the admin UI look more like 3.7.)
> >
> > I do have the preference set to download fonts, and I've even unset my
> > desired minimum font size, and still (of course), I get these blasted
> > little rectangles with the digits in them instead of the glyphs I need
> > (because with responsiveness, somehow we lose tooltips, but I digress).
>
> The problem seems to be that sites are using @FONT to download custom
> fonts and use them as icons instead of using SVG to draw icons. The
> problem is our port does not support @FONT.
> Unless someone adds the @FONT support to our port I guess we're stuck
> with those ugly rectangles. Dmitri might get around to it eventually but
> currently he's busy just trying to get plugins working on 17esr, then
> he'll probably be busy updating to 24esr and who knows what other issues
> might side track him.

I've been reluctant to dip into the Mozilla morass given everything else on
my plate, but I'm beginning to suspect that I might be the best qualified
person to look at this... and it doesn't look as if anyone else is going to
(at least not any time soon).

The problem is, while I might have the necessary knowledge of fonts, I
don't have the necessary knowledge of Cairo's or Mozilla's internals.  So
there'd surely be a serious learning curve involved.


--
Alex Taylor
http://www.altsan.org

Please take off hat when replying.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Dave Yeo-3
Alex Taylor wrote:

> On Tue, 4 Feb 2014 18:36:19 UTC, Dave Yeo<[hidden email]>  wrote:
>
>>> It seems like every web developer is going ga-ga over "responsive"
>>> themes these days (instead of focusing on "responsive" themes for only
>>> mobile devices), and now WordPress 3.8 has decided that we all need
>>> "responsiveness" added to the admin UI, which of course, includes these
>>> g-d-awful icon fonts which don't render consistently. (I'm kind of
>>> working around much of that in WordPress, using the Classic Admin
>>> plugin, which makes the admin UI look more like 3.7.)
>>>
>>> I do have the preference set to download fonts, and I've even unset my
>>> desired minimum font size, and still (of course), I get these blasted
>>> little rectangles with the digits in them instead of the glyphs I need
>>> (because with responsiveness, somehow we lose tooltips, but I digress).
>>
>> The problem seems to be that sites are using @FONT to download custom
>> fonts and use them as icons instead of using SVG to draw icons. The
>> problem is our port does not support @FONT.
>> Unless someone adds the @FONT support to our port I guess we're stuck
>> with those ugly rectangles. Dmitri might get around to it eventually but
>> currently he's busy just trying to get plugins working on 17esr, then
>> he'll probably be busy updating to 24esr and who knows what other issues
>> might side track him.
>
> I've been reluctant to dip into the Mozilla morass given everything else on
> my plate, but I'm beginning to suspect that I might be the best qualified
> person to look at this... and it doesn't look as if anyone else is going to
> (at least not any time soon).
>
> The problem is, while I might have the necessary knowledge of fonts, I
> don't have the necessary knowledge of Cairo's or Mozilla's internals.  So
> there'd surely be a serious learning curve involved.
>
>

You can ignore Cairo, it just uses fontconfig+freetype to draw whatever
glyphs are passed to it. The Mozilla component is Thebes that will need
work.
I'd guess that it is mostly our fontconfig that needs extending. Web
page requests @font, Mozilla downloads the font somewhere such as
%TEMP%, registers it with fontconfig, page requests font from fontconfig
through thebes and displays it.
I don't know if Peter still remembers how he was planning to implement
it but it was the last thing he was working on when he got tired and
moved on so perhaps it would be worth asking him.
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Alex Taylor
On Sat, 8 Feb 2014 18:32:25 UTC, Dave Yeo <[hidden email]> wrote:

> >> Unless someone adds the @FONT support to our port I guess we're stuck
> >> with those ugly rectangles. Dmitri might get around to it eventually but
> >> currently he's busy just trying to get plugins working on 17esr, then
> >> he'll probably be busy updating to 24esr and who knows what other issues
> >> might side track him.
> >
> > I've been reluctant to dip into the Mozilla morass given everything else on
> > my plate, but I'm beginning to suspect that I might be the best qualified
> > person to look at this... and it doesn't look as if anyone else is going to
> > (at least not any time soon).
> >
> > The problem is, while I might have the necessary knowledge of fonts, I
> > don't have the necessary knowledge of Cairo's or Mozilla's internals.  So
> > there'd surely be a serious learning curve involved.
>
> You can ignore Cairo, it just uses fontconfig+freetype to draw whatever
> glyphs are passed to it. The Mozilla component is Thebes that will need
> work.
> I'd guess that it is mostly our fontconfig that needs extending. Web
> page requests @font, Mozilla downloads the font somewhere such as
> %TEMP%, registers it with fontconfig, page requests font from fontconfig
> through thebes and displays it.
> I don't know if Peter still remembers how he was planning to implement
> it but it was the last thing he was working on when he got tired and
> moved on so perhaps it would be worth asking him.

AFAIK he put most of his thoughts into the ticket...
https://bugzilla.mozilla.org/show_bug.cgi?id=500135

I'm seeing more and more sites which use or even depend on this feature, so
it's moving steadily up my priority list.

--
Alex Taylor
http://www.altsan.org

Please take off hat when replying.
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2
Reply | Threaded
Open this post in threaded view
|

Re: Icon fonts in SM & FF

Dave Yeo-3
Alex Taylor wrote:

> On Sat, 8 Feb 2014 18:32:25 UTC, Dave Yeo<[hidden email]>  wrote:
>
>>>> Unless someone adds the @FONT support to our port I guess we're stuck
>>>> with those ugly rectangles. Dmitri might get around to it eventually but
>>>> currently he's busy just trying to get plugins working on 17esr, then
>>>> he'll probably be busy updating to 24esr and who knows what other issues
>>>> might side track him.
>>>
>>> I've been reluctant to dip into the Mozilla morass given everything else on
>>> my plate, but I'm beginning to suspect that I might be the best qualified
>>> person to look at this... and it doesn't look as if anyone else is going to
>>> (at least not any time soon).
>>>
>>> The problem is, while I might have the necessary knowledge of fonts, I
>>> don't have the necessary knowledge of Cairo's or Mozilla's internals.  So
>>> there'd surely be a serious learning curve involved.
>>
>> You can ignore Cairo, it just uses fontconfig+freetype to draw whatever
>> glyphs are passed to it. The Mozilla component is Thebes that will need
>> work.
>> I'd guess that it is mostly our fontconfig that needs extending. Web
>> page requests @font, Mozilla downloads the font somewhere such as
>> %TEMP%, registers it with fontconfig, page requests font from fontconfig
>> through thebes and displays it.
>> I don't know if Peter still remembers how he was planning to implement
>> it but it was the last thing he was working on when he got tired and
>> moved on so perhaps it would be worth asking him.
>
> AFAIK he put most of his thoughts into the ticket...
> https://bugzilla.mozilla.org/show_bug.cgi?id=500135
>
> I'm seeing more and more sites which use or even depend on this feature, so
> it's moving steadily up my priority list.
>

My memory is fuzzy but he talks of FF 3.5 which is ancient now. One
thing I do know is that with @fontface enabled in about:config all the
crashes (and I looked at a lot of trp files) were in code that
referenced fontconfig.
He is right about looking at how Linux does it as we more closely follow
that code path, using freetype, and fontconfig whereas Windows and Mac
have their own font stuff.
Dave
_______________________________________________
dev-ports-os2 mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-ports-os2