Option to add font-family into the Tour  

Got some great idea or a feature request? Post it here and discuss it.
User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Option to add font-family into the Tour

by Destiny » Sun Jul 05, 2015 3:05 am

Hi.. I would like to see an option add a 'font-family' into a Tour, from the GUI... Different plugins/options different font-family as needed...

Destiny..

User avatar
benji33
Kolor Team
 
Posts: 4262
Likes: 15 posts
Liked in: 72 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Option to add font-family into the Tour

by benji33 » Wed Jul 22, 2015 9:00 am

Add a ttf font or a web font as Google ones ?

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Wed Jul 22, 2015 11:10 am

Tried adding Google Fonts Benjamin but did not work.. They provide the code to add to your html.. No luck so far...

https://www.google.com/fonts

Destiny..



benji33 wrote:Add a ttf font or a web font as Google ones ?

User avatar
benji33
Kolor Team
 
Posts: 4262
Likes: 15 posts
Liked in: 72 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Option to add font-family into the Tour

by benji33 » Thu Jul 23, 2015 8:27 am

Depends where in fact. Can be used on Description plugin text for instance but not into the krpano textfields elements.
Krpano doesn't support this type of fonts into it's textfield plugin.

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Thu Jul 23, 2015 8:35 am

Oh I see.. I am sure that I read somewhere at the krpano forum that Klaus Reinfeld was working on a solution, not sure.. His brain is 3 in one so I am sure he could do it.. =D

Destiny..

User avatar
benji33
Kolor Team
 
Posts: 4262
Likes: 15 posts
Liked in: 72 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: Option to add font-family into the Tour

by benji33 » Mon Jul 27, 2015 9:01 am

By Nuno Madeira : How to add Google Font into Panotour Pro
http://360cityguides.com/worldwide/chan ... o-project/

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Mon Jul 27, 2015 9:22 am

Yes Benjamin.. I read that already; I was already doing the same thing but as soon as I add a new Font in the xml the Description will not open... I tried other fonts. I need to try the ones in the Tutorial..

I have added my file. I must be missing something..

Destiny...
Attachments
NEW GOOGLE FONTS TEST.zip
(1013.75 KiB) Downloaded 2 times

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Mon Jul 27, 2015 9:30 am

Just tried the same font in the Tutorial and same thing. As soon as I add a new font the Description will not work.. I was playing with this same option over the weekend. I also tried using the KRPANO Testing Server..

<font face="Roboto, sans-serif">

Destiny..

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Tue Jul 28, 2015 8:29 am

Well silly me.. I could have had this working over a week ago if I had only uploaded the test.. It works when uploaded to the web but.. I cannot get 'cursive' to work..

http://www.destinyvirtualtours.com/goog ... Fonts.html

I also added more code into the Title to get that to work too.. but still no 'cursive'.. Did I do something wrong....

Destiny..

<data name="en_descriptiondescription_title"><![CDATA[<span style="font-size: xx-large;"><font face="Poiret One, cursive">This is a test to see Google Fonts</font></span>]]></data>


<data name="en_spotpoint11_description"><![CDATA[<span style="font-size: xx-large;"><font face="Poiret One, cursive">Google Fonts work in PTP</font></span><div><span style="font-size: xx-large;"><font face="Poiret One, cursive"><br></font></span></div><div><font face="Poiret One, cursive" size="10">This will test Google Fonts</font></div><div><span style="font-size: xx-large;"><font face="Poiret One, cursive"><br></font></span></div>]]></data>

User avatar
Destiny
Moderator
 
Topic author
Posts: 6311
Likes: 0 post
Liked in: 64 posts
Joined: Mon Apr 26, 2010 11:55 pm
Location: Australia
Info

Re: Option to add font-family into the Tour

by Destiny » Tue Jul 28, 2015 10:55 am

Sorry, brain drain. No 'cursive' with that font... so all good...

Destiny...


Return to Panotour Future

Who is online

Users browsing this forum: No registered users and 1 guest