Embedding Fonts

protected fonts?

Sunday, July 6, 2008 by PuterDudeJim | Discussion: Skinning

     Are some fonts protected against being embedded? I have recently made a few DX themes that have embedded fonts that did not work on the computers that they were downloaded to. Including my laptop, which is running Vista, rather than XP, which I make them on. But I don't think it is a Vista thing. I really think it is a font protection thing. Just a theory. Does anyone out there in the world of skinning, or the font world, know anything about this?

    The most recent font in question is RedRightHand.ttf. Any info on fonts and font protection would be appreciated.  Thanx!    

ZubaZ
Reply #1 Monday, July 7, 2008 12:01 AM
Jim,

can you walk me through how you are embedding fonts?  Do individual widgets work while themes fail?
Have you ever had a widget work with one font and not with another?
ZubaZ
Reply #2 Monday, July 7, 2008 9:27 AM
My process:
Install the font into my font directory.
In DX Builder, add it as a custom file on the Summary tab of any object.
On the States tab set your text to use that font.
Export

I took your hellboy start button and added the fonts there.  Then I changed the font on the child text to Red Right hand.ttf.  Exported adn copied the exe to a PC that didn't have the font.  I ran it and the font was there.

I'm using Vista to create the object and XP to run it.
PuterDudeJim
Reply #3 Monday, July 7, 2008 1:39 PM
Jim,

can you walk me through how you are embedding fonts? Do individual widgets work while themes fail?
Have you ever had a widget work with one font and not with another?


To embed the fonts, I go to the summary tab, custom files, click add, browse to My Documents, where I previously put the font, click ok. Yes, I have had embedded fonts before, several times. Just seems like some fonts don't work.
PuterDudeJim
Reply #4 Monday, July 7, 2008 1:43 PM
I took your hellboy start button and added the fonts there. Then I changed the font on the child text to Red Right hand.ttf. Exported adn copied the exe to a PC that didn't have the font. I ran it and the font was there.


Sounds as though you are using it as a widget (exe). I uploaded it as a .desktop. Dunno if that matters. Making it on XP, trying it on Vista and XP.
PuterDudeJim
Reply #5 Monday, July 7, 2008 1:59 PM
Oddly enough, I embedded it into the same button that you did, and it worked. Previously, I had embedded it into a different button, not sure which. Is that not odd? Zubaz, do I need to reupload?
ZubaZ
Reply #6 Monday, July 7, 2008 2:34 PM
I figured that the button we both chose was the first one loaded/dispalyed . . seemed like a good choice.  I don't know if exporting as a desktop makes a difference.
milksama
Reply #7 Monday, July 7, 2008 2:58 PM

I can't imagine it would make a difference into which object it was that you had added the custom file (they should really all be fine, in my experience). I personally will include any custom files into a parent object, so I know where to look if anything needs to be changed/removed in the future.

The point of the custom file process is to have DesktopX add a reference to some external file that needs to be included. When you add in images through the states tab, you are implicitly creating references to the images added there, so those will be automatically included.

If you rename the resulting .dxpack/.desktop file generated after exporting to .zip, you should be able to find any additional images/fonts/etc within there.

Glad to hear you were able to get it working though at least   


Mike

ZubaZ
Reply #8 Monday, July 7, 2008 5:04 PM
Looks like the last upload worked.    Well done.
PuterDudeJim
Reply #9 Monday, July 7, 2008 5:35 PM
  
Looks like the last upload worked. Well done.


Thank you.

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01