Sie sind nicht angemeldet.

1

Freitag, 17. Januar 2014, 20:21

After Encryption of XML custom font-family/font-face style in Textfield stop working! krpano 1.16.9

Hello Klaus and others,
i use google webfonts on html page

Zitat

<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700' rel='stylesheet' type='text/css'>
in xml i use textfield plugin with additional "font-face" and "font-family" attributes

Zitat

<style name="skin_thumbtext_style" url="%SWFPATH%/plugins/textfield.swf" align="bottom" width="100%" autoheight="true" y="5" enabled="false" background="false" border="false" css="text-align:center; color:#FFFFFF; font-family:PT Sans Narrow; font-face:PT Sans Narrow; font-weight:bold; font-size:12px;" textshadow="1" />
if i do not encrypt xml, everything work fine,
if i encrypt xml in krpano Protect Tool font-face do not work in flash but still working on html5 viewer.


Update: the problem was not with krpano Protect Tool encryption, it was because html have html5="prefer" setting.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »el-si« (17. Januar 2014, 22:25)


2

Montag, 20. Januar 2014, 12:31

Hi,

just as note - web-fonts aren't supported by the Flashplayer!

Best regards,
Klaus

3

Montag, 20. Januar 2014, 12:41

Hi,

just as note - web-fonts aren't supported by the Flashplayer!

Best regards,
Klaus
Klaus, is there any way to get source of textfield.as to embedd fonts? I found it here Embed font in Textfield, but it seems there is outdated version.

4

Mittwoch, 29. Januar 2014, 11:24

Hi,

The current textfield.as source can be still found here in the 1.16 viewer download package (same as in 1.17):
http://krpano.com/download/?version=116

But I will add a way to provide the source directly via the textfield plugin page.

Best regards,
Klaus

Ähnliche Themen