Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #14834

    When I change body font to a different (Google) typeface, which I know for certain contains cyrillic charset (like Droid Sans, Open Sans, nothing changes, latin text changes, while cyrillic falls back to some other default font.

    See screenshot: http://imageshack.us/photo/my-images/802/halfwindscreen3.png/

    1st line of blogpost in in Open Sans (as set in theme options), 2nd line (cyrillic) is something else. And it doesn’t change font, unless I go for websafe fonts, which I don’t want to.

    Is there a way to fix this?

    And also, the choice of Google fonts is very limited, is there a way to add more fonts to header and/or body font selector?

    I also tried adding extra CSS code in the same panel:

    Code:
    body {
    font-family: Cuprum, “Cuprum”;
    }

    doesn’t do anything. (Cuprum also has cyrillic chars included in it).

    Please advise.

    #85089

    Found out that you’re working with Cufon. Explains everything. My fault I didn’t look in 1st place, I apologize.

    Is there a way to switch the whole theme to Google fonts API, omitting Cufon entirely? I was assuming you were using Google fonts, not Cufon (which isn’t really friendly towards non-latin chars). Shame :(

    #85090

    Hey!

    1) Choices does not use Cufon for the font replacement. It uses the Google Font API.

    2) Have a look at this thread: http://www.kriesi.at/support/topic/greek-heading-fonts-wrongly-fall-back-to-standard-web-fonts

    Regards,

    Peter

    #85091

    Hey, Peter, thanx for response,

    1) I see, cufon fonts I’ve found relate to avia framework then. I’m glad. :)

    2) Went there, thank you. Changed the code with subset=latin,cyrillic, flushed browser cache, checked – nothing changed. :(

    3) There are only 2 cyrillic-enabled body fonts (Droid + Open Sans), how do I add another one to the selector or choose one through CSS addition?

    #85092

    Anyone?

    #85093

    2) It seems to work for me – I made a screencast: http://www.screenr.com/5zq8

    3) Go to choicesincludesadminregister-admin-options.php andsearch for following code:

    "subtype" => array(	'no custom font'=>'',

    'Alice'=>'Alice',
    'Allerta'=>'Allerta',
    'Arvo'=>'Arvo',
    'Antic'=>'Antic',

    'Bangers'=>'Bangers',
    'Bitter'=>'Bitter',

    'Cabin'=>'Cabin',
    'Cardo'=>'Cardo',
    'Carme'=>'Carme',
    'Coda'=>'Coda',
    'Coustard'=>'Coustard',
    'Gruppo'=>'Gruppo',

    'Damion'=>'Damion',
    'Dancing Script'=>'Dancing Script',
    'Droid Sans'=>'Droid Sans',
    'Droid Serif'=>'Droid Serif',

    'EB Garamond'=>'EB Garamond',

    'Fjord One'=>'Fjord One',

    'Inconsolata'=>'Inconsolata',

    'Josefin Sans' => 'Josefin Sans',
    'Josefin Slab'=>'Josefin Slab',

    'Kameron'=>'Kameron',
    'Kreon'=>'Kreon',

    'Lobster'=>'Lobster',
    'League Script'=>'League Script',

    'Mate SC'=>'Mate SC',
    'Mako'=>'Mako',
    'Merriweather'=>'Merriweather',
    'Metrophobic'=>'Metrophobic',
    'Molengo'=>'Molengo',
    'Muli'=>'Muli',

    'Nobile'=>'Nobile',
    'News Cycle'=>'News Cycle',

    'Open Sans'=>'Open Sans',
    'Orbitron'=>'Orbitron',
    'Oswald'=>'Oswald',

    'Pacifico'=>'Pacifico',
    'Poly'=>'Poly',
    'Podkova'=>'Podkova',

    'Quattrocento'=>'Quattrocento',
    'Questrial'=>'Questrial',
    'Quicksand'=>'Quicksand',

    'Raleway'=>'Raleway',

    'Salsa'=>'Salsa',
    'Sunshiney'=>'Sunshiney',
    'Signika Negative'=>'Signika Negative',

    'Tangerine'=>'Tangerine',
    'Terminal Dosis'=>'Terminal Dosis',
    'Tenor Sans'=>'Tenor Sans',

    'Varela Round'=>'Varela Round',

    'Yellowtail'=>'Yellowtail',

    ));

    Simply add your font to this list and it will appear in the backend too.

    #85094

    Thanx, Peter, I’ve no idea why it wasn’t showing here, everything’s working properly now, probably because of full reboot overnight :)

    Added extra fonts to both heading and body sets, works like a charm, you’re a life saver :)

    Maybe a good idea to include some more international fonts in the next version?

    Like Anonymous Pro, Jura, Play, Ubuntu, they all have cyrillic and greek, for example.

    By the way, just to be sure: in the next upgrade I’d have to edit the same file again, right?

    Kind regards,

    Mike

    P.S.: I’ve almost finished russian translation of PO/MO files, do you need those to include in next versions?

    #85095

    Hi Mike,

    When you upgrade next, just check if this file has had any changes and if not then keep a copy to add to the newly updated them files (basically re-adding what you just did again).

    Another option when upgrading is to only upgrade those files listed as changed in the version.rtf. Then, unless this file is specifically stated as having been updated, you just upload those specific files or folders that Kriesi lists as being updated or changed.

    I’ll tag the topic for Kriesi re: the full russion translation files. If you put them into a dropbox folder and include a link to it in the contact form here: http://www.kriesi.at/contact Kriesi will receive them as well.

    Regards,

    Devin

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Non-latin font types not rly working / adding other fonts / cyrillic’ is closed to new replies.