Dear visitor, welcome to krpano.com Forum.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Embeding of fonts
I`d like to see Krpano support some kind of font embedding. It will be useful when trying to make "designed" interactivity, where you dont want to limit yourself to web-safe fonts.
btw: Does Krpano support font stacks ? If not it would be nice too.
John Myrstad
error
hmm. maybe its already possible, but my german is not good enough to know for sure:
http://www.krpano.com/forum/wbb/index.ph…=fonts#post6142
Hi.
I get this error shows up.
My code:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/*
HTML textfield plugin
- version: 0.2
- min. krpano version: 1.0.7
krpano.com
*/
package
{
import flash.display.*;
import flash.events.*;
import flash.system.*;
import flash.net.*;
import flash.filters.*;
import flash.geom.*;
import flash.text.*;
import flash.utils.*;
import flash.xml.*;
import flash.ui.Mouse;
import krpano_as3_interface;
[SWF(width="400", height="300", backgroundColor="#FFFFFF")]
[Embed(source="fonts/arial.ttf", fontFamily="arialfont", unicodeRange='U+0020-U+00FF')] private var MyArialFont:Class;
public class textfield extends Sprite
{
// krpano as3 interface
private var krpano:krpano_as3_interface = null;
...
...
|
I do not know how it should be.