+ Reply to Thread
Results 1 to 6 of 6

Thread: Adding new fonts for deki

  1. #1
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    123

    Default Adding new fonts for deki

    I have 2 questions

    1) Is deki's default font Verdana?
    2) Is it possible to add extra fonts, say Arial to deki wiki

    P.S Thanx for all the awesome forum support to everybody across the world contributing and especially to the Mindtouch team. You guys are doing a damn good job
    Psa 33:5 He loves righteousness and justice; the earth is full of the steadfast love of the LORD

  2. #2
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    Inside the editor? You can change that by going to /editor/Xinha/editor/editor.js and modifying xinha_config.fontname = {}

  3. #3
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    123

    Default

    Quote Originally Posted by royk View Post
    Inside the editor? You can change that by going to /editor/Xinha/editor/editor.js and modifying xinha_config.fontname = {}
    Thanx Roy Still getting Verdana as my default font, how to I set it to Arial?
    Psa 33:5 He loves righteousness and justice; the earth is full of the steadfast love of the LORD

  4. #4
    Join Date
    Nov 2007
    Posts
    92

    Default

    Quote Originally Posted by bjorntheart View Post
    Thanx Roy Still getting Verdana as my default font, how to I set it to Arial?
    Bjorntheart, Verdana and Arial are considered equivalent for most purposes. Only graphic designers typically know the difference. If you're a Verdana-hater, you can change the displayed name in the file he referenced so that it's called Arial instead of Verdana. See here:

    xinha_config.fontname = {
    "— font —": '', //keep this value blank or it'll appear in the menu dropdown
    "Courier New": 'courier new,courier,monospace',
    "Times New Roman": 'times new roman,georgia,times,serif',
    "Verdana": 'verdana,arial,helvetica,sans-serif'
    };
    I have played with it, but I believe that the third font down (on the left) is called "Verdana" and you can change the text to "Arial." On the right, you can see that it's calling for whichever font is actually installed - verdana or arial or helvetica or sans-serif.

  5. #5
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    123

    Default

    Bjorntheart, Verdana and Arial are considered equivalent for most purposes. Only graphic designers typically know the difference. If you're a Verdana-hater, you can change the displayed name in the file he referenced so that it's called Arial instead of Verdana. See here:
    Hey, don't get me wrong main I love Verdana, it's the our client that wants it changed.
    I have managed to add the fonts successfully, but my editor is still writing up Verdana style fonts when I open it and start typing. Arial is in the list and I can change selected text to it, but still no Arial default font
    Psa 33:5 He loves righteousness and justice; the earth is full of the steadfast love of the LORD

  6. #6
    Join Date
    Feb 2007
    Posts
    1,871

    Default

    Which skin are you using? Even if you set the default font in the editor, the CSS styles from the template might be overwriting them. If you install Firebug, you can use their CSS inspector to see where a particular item on the page is grabbing its styles from - this will help you figure out your problem.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts