View Single Post
Old 02-27-2014, 07:41 AM   #388
chrox
Zealot
chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.chrox ought to be getting tired of karma fortunes by now.
 
Posts: 144
Karma: 405567
Join Date: Nov 2012
Device: K3 KPW PB840
Quote:
Originally Posted by pkbo View Post
chrox, will your fix work properly if I will specify font-family: AmerigoPL, sans-serif ? I guess no, because you've set 'n' to 1, the following code will never be executed:
Code:
if (n==-1 && nn!=-1)
{
    n = nn;
}
right?
Oops, may be it's better to patch it like this:
Code:
if (nn!=-1)
{
    n = nn;
    // remove family name from font list
    list.erase( i, 1 );
}
though I haven't tested it yet.
chrox is offline   Reply With Quote