Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  importing a font into your .jar file for cross-platform use?  (Read 385 times)
0 Members and 2 Guests are viewing this topic.
Offline Shane75776

Full Member
**

Posts: 151
Medals: 3



« on: 2012-01-16 18:46:30 »

So in one of my games I am using the font Quartz MS which is a windows font and
does not show up on mac.

Is it possible to import or package that font into my .jar file so that it will be used
in my game if someone runs it on a mac?

Right now, a friend of mine uses mac and the font gets replaced with the mac default
font which makes the text look terrible on that platform.

Thanks
Offline ra4king

JGO Kernel
*****

Posts: 3155
Medals: 196


I'm the King!


« Reply #1 on: 2012-01-16 19:19:24 »

Yes, a .ttf file should work cross-platform Smiley

Offline Shane75776

Full Member
**

Posts: 151
Medals: 3



« Reply #2 on: 2012-01-16 20:06:46 »

awesome thanks
Games published by our own members! Go get 'em!
Offline pjt33

JGO Strike Force
***

Posts: 913
Medals: 17



« Reply #3 on: 2012-01-17 16:03:41 »

Is it possible to import or package that font into my .jar file so that it will be used
in my game if someone runs it on a mac?
Technically possible, yes. Legally possible: unlikely.
Offline Shane75776

Full Member
**

Posts: 151
Medals: 3



« Reply #4 on: 2012-01-17 16:53:51 »

Is it possible to import or package that font into my .jar file so that it will be used
in my game if someone runs it on a mac?
Technically possible, yes. Legally possible: unlikely.

Hmm. looks like ill have to look into some open source fonts or something.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.078 seconds with 19 queries.