Welcome to TalkGraphics.com
Results 1 to 9 of 9

Thread: Google webfonts

  1. #1
    Join Date
    Oct 2011
    Posts
    2

    Default Google webfonts

    Hi everybody!
    Who know, how can I use Google webfonts in XDPX?

    http://www.google.com/webfonts

  2. #2
    Join Date
    Jan 2010
    Location
    Bradford, England
    Posts
    1,829

    Default Re: Google webfonts

    Just download the font and install it on your computer and use it in xara.
    Flawless Form. Faultless Function. Crafted by Cloud

    https://www.cloudwebagency.co.uk

  3. #3
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,521

    Default Re: Google webfonts

    Just download the font and install it on your computer and use it in xara.
    Well, it is probably not quite that simple. You need to add a script to your site that tells the visitor's browser where to find and download the fonts. It is not very hard, but if you don't do this, the fonts will only display if the visitor has the fonts installed, which is not all that likely.

    http://www.google.com/webfonts#HomePlace:home

    Download the font or fonts you want to use. Generate a script for each font you plan to use on the Google Web Fonts site.

    Copy the script for the font or fonts you plan to use in your document and paste the script into the Web Properties > Website > HTML Code Body) window. Press OK and then Apply.

    This links to the font and adds the font name to your document when you publish.

    (Welcome to TalkGraphics )
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	INSERT CODE.png 
Views:	119 
Size:	23.0 KB 
ID:	95286  

  4. #4

    Default Re: Google webfonts

    With the exception that fonts that you have installed to your PC, including those from Google web fonts, are embedded in your site when using version 8.
    The .ttf and .eot is exported to your index_htm_files folder which is then downloaded to the visitors machine to enable them to see the correct font.
    No other scripting necessary, Xara does all the heavy lifting here

    DEMO: http://xara-users.info/temp/gwebfont/

  5. #5
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,521

    Default Re: Google webfonts

    Yeah, you're right.

    Never mind.

  6. #6
    Join Date
    Jan 2010
    Location
    Bradford, England
    Posts
    1,829

    Default Re: Google webfonts

    Thanks Steve, gary even had me worried that I was doing it wrong.
    Flawless Form. Faultless Function. Crafted by Cloud

    https://www.cloudwebagency.co.uk

  7. #7
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,521

    Default Re: Google webfonts

    Well, the method I described is what you have to use if you have an earlier version of WD or Designer that does not embed fonts.

  8. #8
    Join Date
    Jan 2010
    Location
    Bradford, England
    Posts
    1,829

    Default Re: Google webfonts

    Yes I know Gary, I was basing my answer on the fact that the OP asked about XDPX.

    That is the method I am familiar with but I was wondering whether the script method you suggested is better because you (xara software) don't have to physically upload the font, as some of the fonts are quite large. If it is referencing the font it makes the page size smaller and therefore should load the page faster.
    Flawless Form. Faultless Function. Crafted by Cloud

    https://www.cloudwebagency.co.uk

  9. #9

    Default Re: Google webfonts

    Quote Originally Posted by skech View Post
    If it is referencing the font it makes the page size smaller and therefore should load the page faster.
    Well, there may be a marginal difference if the Google server is a little faster than the site you are visiting, either way the same font has to download to the visitor's machine.

 

 

Bookmarks

Posting Permissions

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