Re: fonts + traps

2008-05-28 Thread Richard M. Hartman


Amir wrote in message [EMAIL PROTECTED]...


Richard M. Hartman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]



 Amir wrote in message [EMAIL PROTECTED]...
 
 Where can I find...
 1)  ...the Palm system fonts as a text file?

 I don't even understand what you are asking for here ... fonts
 are essentially bitmaps ... and you want them as a -text- file?
I need the fonts as text files for PilRC.

Well ... the only thing I can think of is to get an existing font
file then write something to dump the data in hex so that you
can drop it into the PilRC file.

--

-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: fonts + traps

2008-05-28 Thread Amir

Richard M. Hartman [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]



 Amir wrote in message [EMAIL PROTECTED]...
 
 Where can I find...
 1)  ...the Palm system fonts as a text file?

 I don't even understand what you are asking for here ... fonts
 are essentially bitmaps ... and you want them as a -text- file?
I need the fonts as text files for PilRC.

 2)  ...a sample code for a hack (without HackMaster)?

 This is a contradiction in terms.  It is possible to patch an
 OS trap without hackmaster ... but a hack is a module
 that makes use of hackmaster to do this.  (That is, btw,
 the better way to go when patching OS traps.)
I ment trap...  Anyway - I have already found a sample.


 --
 -Richard M. Hartman
 [EMAIL PROTECTED]

 186,000 mi/sec: not just a good idea, it's the LAW!










-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: fonts + traps

2008-05-28 Thread Richard M. Hartman


Amir wrote in message [EMAIL PROTECTED]...

Where can I find...
1)  ...the Palm system fonts as a text file?

I don't even understand what you are asking for here ... fonts
are essentially bitmaps ... and you want them as a -text- file?

2)  ...a sample code for a hack (without HackMaster)?

This is a contradiction in terms.  It is possible to patch an
OS trap without hackmaster ... but a hack is a module
that makes use of hackmaster to do this.  (That is, btw,
the better way to go when patching OS traps.)


--
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Fonts and Dynamic Heap

2006-01-24 Thread Jeremy Brown
Did you ever figure out a way to use fonts from a .pdb without impacting heap?  
I am doing the same thing (custom fonts stored in a .pdb) and I just now 
tracked down a bug where my program crashes - it is because of too many fonts 
being defined, and they take up all the heap space.

I had no idea that FntDefineFont would make a copy of the font data I gave it - 
especially since my .pdb with font resources is already in heap space.

I'd appreciate hearing about any solutions you came across.

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Fonts and Dynamic Heap

2006-01-24 Thread Jeremy Brown
Did you ever figure out a way to use fonts from a .pdb without impacting heap? 
I am doing the same thing (custom fonts stored in a .pdb) and I just now 
tracked down a bug where my program crashes - it is because of too many fonts 
being defined, and they take up all the heap space. 

I had no idea that FntDefineFont would make a copy of the font data I gave it - 
especially since my .pdb with font resources is already in heap space. 

I'd appreciate hearing about any solutions you came across. 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: fonts txt

2005-02-21 Thread Ken Krugler
with much luck i was able to compile the app
but the fonts are not anti aliased
any 1 knows any fonts program that allows anti alias?
i tried xFont and piBuilder already, any others?
Anti-aliased fonts aren't supported directly by Palm OS. When you see 
various programs such as book readers displaying anti-aliased text, 
they are using their own private drawing routines.

-- Ken
--
Ken Krugler
TransPac Software, Inc.
http://www.transpac.com
+1 530-470-9200
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: fonts txt

2005-02-20 Thread Yuen Kwee
thanks for your reply!

i have downloaded piBuilder and built a font called Arial.pfn using Arial font, 
size 8 and normal

i keep getting Invalid height in previous glyph on line 26

my questions are:
1. do i need to edit anything in notepad to get it to work?
2. what should i write so that i can use the fonts? i tried FntSetFont and it 
doesn't recognise the font...
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: fonts txt

2005-02-20 Thread Yuen Kwee
with much luck i was able to compile the app
but the fonts are not anti aliased

any 1 knows any fonts program that allows anti alias?
i tried xFont and piBuilder already, any others?
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: fonts txt

2005-02-17 Thread LionScribe
Use PiFont which is part of the PiBuilder program to create your Palm Font 
txt files (traditionally the text files have an extension of (*.pfn)).
You can download it from http://pibuilder.sourceforge.net/

LionScribe

Yuen Kwee [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 hi hi!
 i searched the forum and i noticed that i need txt files for custom forms, 
 where do i get the txt file for pilrc fonts? i found a 5x11.txt in the 
 examples, where can i get others?
 



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: Fonts for developers

2004-02-04 Thread Fruber Malcome
Did you ever find a better tool?

I did find that tools like FontBucket etc, would create font binaries within
a pdb. (I would just remove the PDB header and the trailing information and
I would be left with a font resource that could be used.).

But even that didn't create nice fonts.  Since I manually creat our fonts
using FontLab and have a really nice TTF with all the hints etc., it would
be nice to be able to easily take this information and create a better
looking glyph than the one xFont or the others create.

thanks - bill

Mark Cameron [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 I've searched the archives and every web site I could think of, and I've
 found a ton of fonts, font tools, etc.  I've tried xFONT and NDMFont,
 both of which are great tools, but it's a lot of work to clean up
 converted fonts. It wouldn't be too bad to clean up a few of them,
 except that I also need to create high-density versions.

 I'm wondering if there are any PilRC-compatible font libraries out
 there? I've found a ton that work with Hackmaster or other tools, but I
 just want to embed a few of them right into my app. Ideally I'm looking
 for ready-made PHN files or TXT glyph files.

 Thanks,

 Mark Cameron
 Techneos Systems Inc.







-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts and Dynamic Heap

2004-01-28 Thread Fruber Malcome
As a note:

Currently I store my custom fonts as data records within a PDB, then I read
that record, lock the memory, then call FntDefineFont.  In this particular
scenario, I lose about 150K on the heap for fonts (the actual font binaries
are about 125K).  I'm wondering if I did this, then stored them as a font
resource within another temp db, then read them as a font resource, would
that eliminate the memory from the heap. (hence why I asked the question)

thanks - bill


Fruber Malcome [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Does the use of custom fonts (as a font resource in the file) impact the
 dynamic heap? (e.g. the size of the font is the same amount of memory used
 on the heap?)

 Is there a way to use custom fonts without impacting the heap? (maybe not
as
 much?)

 thanks - bill






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts Metrowerks CW Constructor uses for WYSIWYG

2004-01-18 Thread Albert J. Franklin
 VFDIDE (http://www.vfdide.com) lets you specify the fonts and gives true
 WYSIWYG form editing.  You compile to PILRC resource .RCP file.

 Al

I bought Falch.net Developer Studio on sale for $49.00.  As I use it, I am
becoming more aware of how easy it is to use.  For instance, if I get a
fatal error dialog because the form variable I thought persisted did not, I
just say Debug-Stop and I am back in the editor.  But to the point: its
editor also is WYSIWYG respective to the choice of font.  And another nice
feature, it will read a .RCP file (generated by VFDIDE, in my case).

Al



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts Metrowerks CW Constructor uses for WYSIWYG

2004-01-18 Thread PalmTree
Is that alive again ? I heard it had gone the way of the dodo

PalmTree Development
www.palmtreedev.com


- Original Message - 
From: Albert J. Franklin [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Sunday, January 18, 2004 11:29 PM
Subject: Re: Fonts Metrowerks CW Constructor uses for WYSIWYG


  VFDIDE (http://www.vfdide.com) lets you specify the fonts and gives true
  WYSIWYG form editing.  You compile to PILRC resource .RCP file.
 
  Al
 
 I bought Falch.net Developer Studio on sale for $49.00.  As I use it, I am
 becoming more aware of how easy it is to use.  For instance, if I get a
 fatal error dialog because the form variable I thought persisted did not,
I
 just say Debug-Stop and I am back in the editor.  But to the point: its
 editor also is WYSIWYG respective to the choice of font.  And another nice
 feature, it will read a .RCP file (generated by VFDIDE, in my case).

 Al



 -- 
 For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts Metrowerks CW Constructor uses for WYSIWYG

2004-01-18 Thread Albert J. Franklin

 Is that alive again ? I heard it had gone the way of the dodo

Unfortunately, I believe that falch.net is no longer operational.  The web
site has been up and down, but seems to have been up recently.

Version 2.7.2 Professional is being sold on the www.falch.net site through
Visage e-services.  The product is no longer supported.

As a non-commercial Palm developer, unable to justify the price-ier software
development systems, I find it a very good IDE for $49.00.

Al



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts Metrowerks CW Constructor uses for WYSIWYG

2004-01-17 Thread Ben Combee
At 05:18 PM 1/10/2004, Konstantin Klyatskin wrote:
Is there any way to customize or change fonts used by Constructor in its
WYSIWYG environment?
Not that I know.

Are there any WYSIWYG reource editor allowing to use customized PalmOS
fonts?
This feature isn't in PilRC Designer.  I don't know if other editors let 
you do this.

--
Ben Combee [EMAIL PROTECTED]
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com 

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts Metrowerks CW Constructor uses for WYSIWYG

2004-01-17 Thread Albert J. Franklin
VFDIDE (http://www.vfdide.com) lets you specify the fonts and gives true
WYSIWYG form editing.  You compile to PILRC resource .RCP file.

Al

- Original Message - 
From: Ben Combee [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Saturday, January 17, 2004 9:14 PM
Subject: Re: Fonts Metrowerks CW Constructor uses for WYSIWYG


 At 05:18 PM 1/10/2004, Konstantin Klyatskin wrote:
 Is there any way to customize or change fonts used by Constructor in its
 WYSIWYG environment?

 Not that I know.

 Are there any WYSIWYG reource editor allowing to use customized PalmOS
 fonts?

 This feature isn't in PilRC Designer.  I don't know if other editors let
 you do this.

 -- 
 Ben Combee [EMAIL PROTECTED]
 CodeWarrior for Palm OS technical lead
 Palm OS programming help @ www.palmoswerks.com


 -- 
 For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fonts are based on what typeface?

2002-09-12 Thread Bill Andreozzi

Were the fonts you got with CW called NPalmfonts or something like that?

I'm currently trying to create a nice looking italic font, but am not having
too much success, has anyone tried to build some nice italic fonts?
thanks -b ill


Will Lau [EMAIL PROTECTED] wrote in message
news:95106@palm-dev-forum...

 If your graphic design wants an installable font to simulate the Palm
screenshots, I've got a set of fonts that came from an earlier Codewarrior
install. They've been very handy in laying up UI designs in our graphics
package (Macromedia Fireworks). If your graphic designer runs Windows, email
me privately and I can send them to you.

 I agree with George, AFAIK the Palm fonts are special. In any regard, your
graphic designer should be talented enough to pick a close matching real
font to use.

 -W

 At 03:35 AM 9/9/2002, you wrote:
 I'm working with a graphic designer who is doing the UI layout and
design
 for my current project.  She's producing a few canned bitmaps, but
wants
 to match the font that appears on the Palm.  Does anyone know what font
this
 is, or what is was based on?  It looks like Arial, but I'd like to know
for
 sure.
 
 It's a custom font that Palm owns the right to. (AFAIK)
 
 George Henne
 NS BASIC Corporation
 http://www.nsbasic.com
 
 
 --
 For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Fonts are based on what typeface?

2002-09-08 Thread George Henne

I'm working with a graphic designer who is doing the UI layout and design
for my current project.  She's producing a few canned bitmaps, but wants
to match the font that appears on the Palm.  Does anyone know what font this
is, or what is was based on?  It looks like Arial, but I'd like to know for
sure.

It's a custom font that Palm owns the right to. (AFAIK)

George Henne 
NS BASIC Corporation
http://www.nsbasic.com 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Fonts are based on what typeface?

2002-09-08 Thread Will Lau

If your graphic design wants an installable font to simulate the Palm screenshots, 
I've got a set of fonts that came from an earlier Codewarrior install. They've been 
very handy in laying up UI designs in our graphics package (Macromedia Fireworks). If 
your graphic designer runs Windows, email me privately and I can send them to you.

I agree with George, AFAIK the Palm fonts are special. In any regard, your graphic 
designer should be talented enough to pick a close matching real font to use.

-W

At 03:35 AM 9/9/2002, you wrote:
I'm working with a graphic designer who is doing the UI layout and design
for my current project.  She's producing a few canned bitmaps, but wants
to match the font that appears on the Palm.  Does anyone know what font this
is, or what is was based on?  It looks like Arial, but I'd like to know for
sure.

It's a custom font that Palm owns the right to. (AFAIK)

George Henne 
NS BASIC Corporation
http://www.nsbasic.com 


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: FONTS

2002-07-10 Thread Werner Poschenrieder

Look for an app which is named AsciiChart: It shows all fonts, all signs, all
codes.
You can alternatively look for the font definition enumerations in the header
files which have speaking names.
Regards Werner

George Bassili schrieb:

 Hi everyone,
 is there a way to look at whats in a font like Symbol or Symbol7.
 I tried opening the Fonts folder in windows to look but it does not seem to
 correspond to what i see on the screen.

 I have resorted to putting a button on the screen and then going through
 character by character.  Any other way?
 Regards,
 george B


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: FONTS

2002-07-10 Thread Ezekiel Sanborndeasis

ASCII chart is a great little app find it at:

http://astro.uchicago.edu/home/web/valdes/pilot/

-Ezekiel

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: FONTS

2002-07-10 Thread Mark Wilden

From: George Bassili [EMAIL PROTECTED]


 is there a way to look at whats in a font like Symbol or Symbol7.

In Constructor, from the Window menu choose Character Map.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: fonts

2002-04-02 Thread Joe

--- Lance Gregory [EMAIL PROTECTED] wrote:
 Is it possible to create a font resource and not have it 
 connected to a certain project? 

Yes

 Can I have an independant resource on the palm device 
 that can be accessed from several different apps? 

Yes

 If this is possible, how could it be accomplished?

Store your font in a PDB.  FontBucket
(http://www.handshigh.com/fontbucket/) is an example of a program that
does this.


__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/



Re: Fonts

2002-02-15 Thread Curt Allen

I am a total newbee to Palm development so please forgive my cluelessness.
I do not know what the Digest is - I'm guessing something like Google?  How
do I access it?

I took your advice and downloaded the xFont application.  I think it's going
to work perfectly.  Thank you.  Now, my last question (hopefully).  Now that
I've created a larger font, how do I get it into my application?  From what
I've read, I gather that I have to import it into my source as a resource.
How do I do this?  I understand that this process may require a lengthy
explanation and if you don't want to get into it here, that's cool.  I'm
planning on making a trip to my local Barnes and Noble this weekend anyway
to pick up a book or two on Palm development.

TIA for everything!
Curt Allen

Laurence Mee [EMAIL PROTECTED] wrote in message
news:76713@palm-dev-forum...

 I believe that this has been asked before (29th Nov 01 - 30th Nov 01
 Subject: Large Custom Fonts) so should be on the Digest.

 Essentially you can use XFont to create large fonts
 (http://www.members.tripod.com/pericak/font_description.htm) and pilRC
 (http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=manual) to
 include it in the resources.

 Laurence Mee.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Curt
 Allen
 Sent: 14 February 2002 22:43
 To: Palm Developer Forum
 Subject: Fonts


 I'm using a Palm m100 to develop a demonstrational user interface for an
 embedded handheld project and I need larger font sizes than what are
 available using the text() call in graphics mode.  I'll need about 5
 different sizes ranging from 6x8 to 48x56 pixels.  What can I do?  Is
there
 anything available that I can get my hands on?  Am I stuck bit-mapping
each
 letter?

 Thank you
 Curt Allen




 --
 For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/tech/support/forums/






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Digest location. Was - RE: Fonts

2002-02-15 Thread Avilla, Dane

Try http://www.escribe.com/computing/pcpqa

That has a searchable archive that is most helpful.

Cheers,

-DGA

 -Original Message-
 From: Curt Allen [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 15, 2002 10:09 AM
 To: Palm Developer Forum
 Subject: Re: Fonts
 
 
 I am a total newbee to Palm development so please forgive my 
 cluelessness.
 I do not know what the Digest is - I'm guessing something 
 like Google?  How
 do I access it?
 
 I took your advice and downloaded the xFont application.  I 
 think it's going
 to work perfectly.  Thank you.  Now, my last question 
 (hopefully).  Now that
 I've created a larger font, how do I get it into my 
 application?  From what
 I've read, I gather that I have to import it into my source 
 as a resource.
 How do I do this?  I understand that this process may require 
 a lengthy
 explanation and if you don't want to get into it here, that's 
 cool.  I'm
 planning on making a trip to my local Barnes and Noble this 
 weekend anyway
 to pick up a book or two on Palm development.
 
 TIA for everything!
 Curt Allen
 
 Laurence Mee [EMAIL PROTECTED] wrote in message
 news:76713@palm-dev-forum...
 
  I believe that this has been asked before (29th Nov 01 - 30th Nov 01
  Subject: Large Custom Fonts) so should be on the Digest.
 
  Essentially you can use XFont to create large fonts
  
 (http://www.members.tripod.com/pericak/font_description.htm) and pilRC
  
 (http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=m
anual) to
 include it in the resources.

 Laurence Mee.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Curt
 Allen
 Sent: 14 February 2002 22:43
 To: Palm Developer Forum
 Subject: Fonts


 I'm using a Palm m100 to develop a demonstrational user interface for an
 embedded handheld project and I need larger font sizes than what are
 available using the text() call in graphics mode.  I'll need about 5
 different sizes ranging from 6x8 to 48x56 pixels.  What can I do?  Is
there
 anything available that I can get my hands on?  Am I stuck bit-mapping
each
 letter?

 Thank you
 Curt Allen




 --
 For information on using the Palm Developer Forums, or to unsubscribe,
 please see http://www.palmos.com/dev/tech/support/forums/






-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: Fonts - Repost of old sample code

2002-02-15 Thread Doug McFadyen


 I took your advice and downloaded the xFont application.  I think it's
going
 to work perfectly.  Thank you.  Now, my last question (hopefully).  Now
that
 I've created a larger font, how do I get it into my application?

Hi Curt,

I posted some font sample code a while ago.  I've reposted it here.  Hope
you find it somewhat useful.

Doug.


-- OLD POST STARTS HERE --

If you're using CodeWarrior, you can get the PilRC plugin here
http://www.calliopeinc.com/pilrcplugin.html.  If you're using CodeWarrior
R8, the plugin has ALREADY been installed.  Don't forget to add the .rcp
file type to CodeWarrior's File Mappings, and bind it to PilRC as a TEXT
type with no flags set.

Also, get xFONT here
http://www.members.tripod.com/pericak/font_description.htm.  This will let
you create and/or rip Windows fonts.  I used it in my example, below, to rip
the Comic font.  xFONT will produce the .pfn file (see below).  I've hacked
up all these files for brevity, but they *should* work.

You can read the docs for PilRC here
http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=manual.  Read
the section on the FONT definition.  This is what I did for my Comic18.rcp
file, below.

Note that xFONT does NOT add the GLYPH -1 to the end of the .pfn file.
You REALLY NEED to do this!  If you don't, some flavors of Palm OS will get
sick.  I found this out the hard way! :)

I've included a small fragment of C code, below, that should demonstrate how
this all works.  The code *should* work, if you incorporate it into a
project, but I didn't test it (grin).  Note that the comicFont ID of 12801
is arbirary, and I chose that value myself.  You can use almost any ID
value, as long as you don't create a resource conflict.

Note that you only need to bring the Comic18.r file into a CodeWarrior
project, and it will work.  You only need the .rcp and .pfn files if you
want to create a new or different Comic18.r file (by editing or re-running
xFONT).

Enjoy,
Doug.



FILE test.c fragment--
#include font.h
#define comicFont12801

static void Test(void)
{
   DoWinDrawCharsTest( stdFont );
   DoWinDrawCharsTest( fntAppFontCustomBase );
}

static void DoWinDrawCharsTest( FontID fID )
{
   FontPtr fontP;
   MemHandle fontHandle;
   FontID oldID;

   if ( FntIsAppDefined(fID) )
   {
  fontHandle = GetFontResource( comicFont, fontP );
  FntDefineFont( fID, fontP );
   }

   oldID = FntSetFont( fID );

   // Use the selected font here.
   WinDrawChars( Hello, 5, 0, 0 );  // Just an example only!

   FntSetFont( oldID );

   if ( FntIsAppDefined(fID) )
  ReleaseFontResource( fontHandle );
   }
}

static MemHandle GetFontResource(DmResType resource, FontPtr *ppFont)
{
   MemHandle hFont;
   FontPtr pFont;

   if ( (hFont = DmGetResource(fontRscType,resource)) )
   {
  if ( !(pFont = (FontPtr)MemHandleLock(hFont)) )
  {
 DmReleaseResource( hFont );
 hFont = NULL;
  }

  if ( ppFont )
 *ppFont = pFont;
   }

   return hFont;
}

static void ReleaseFontResource(MemHandle hFont)
{
   if ( hFont )
   {
  MemHandleUnlock( hFont );
  DmReleaseResource( hFont );
   }
}
End of file---



FILE Comic18.rcp--
FONT ID 12801 FONTID 128 Comic18.pfn
End of file---



FILE Comic18.pfn--
// Font: Comic Sans MS 18.pfn
// Date: 2001/11/28  17:41:36
// File automatically generated by xFONF

fontType 36864
maxWidth 30
kernMax 0
nDescent 0
fRectWidth 30
fRectHeight 24
ascent 19
descent 5
leading 0

GLYPH 32
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---

GLYPH 33
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
-##---
--
--
-##---
-##---
-##---
--
--
--
--

GLYPH 34
--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--##--##--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--

GLYPH 35
-
##--##---
##--##---
##--##---
---##--##
---##--##
--###
--###
--##--##-
--##--##-
-##--##--
-##--##--
-###-
-###-
##--##---
##--##---
---###-##
---##--##
---##--##
-
-
-
-
-

GLYPH 36
--##-
--##-
-##--
-
---##-##-
--###-##-
--##--##-
--##--##-
--##--##-
--###-##-
---###---

RE: Fonts

2002-02-14 Thread Laurence Mee

I believe that this has been asked before (29th Nov 01 - 30th Nov 01
Subject: Large Custom Fonts) so should be on the Digest.

Essentially you can use XFont to create large fonts
(http://www.members.tripod.com/pericak/font_description.htm) and pilRC
(http://www.ardiri.com/index.php?redir=palmcat=pilrcsubcat=manual) to
include it in the resources.

Laurence Mee.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Curt
Allen
Sent: 14 February 2002 22:43
To: Palm Developer Forum
Subject: Fonts


I'm using a Palm m100 to develop a demonstrational user interface for an
embedded handheld project and I need larger font sizes than what are
available using the text() call in graphics mode.  I'll need about 5
different sizes ranging from 6x8 to 48x56 pixels.  What can I do?  Is there
anything available that I can get my hands on?  Am I stuck bit-mapping each
letter?

Thank you
Curt Allen




--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Fonts

2002-02-14 Thread DrumBSF

 How do you make your own fonts if you are using Code Warrior?  
Thanks!!

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Fonts

2002-02-14 Thread Max Bian

Get the pilrc plugin!!!

I hope this (esp. the !!) helps. :)

Max
--- [EMAIL PROTECTED] wrote:
  How do you make your own fonts if you are using Code Warrior?  
 Thanks!!
 
 -- 
 For information on using the Palm Developer Forums, or to unsubscribe, please
 see http://www.palmos.com/dev/tech/support/forums/


=
http://www.weirdwww.com/

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: fonts

2001-09-17 Thread Danny Epstein

 Are there palm fonts for word processors such as MS Word? I have editors
 who need to see what the spacing, indentation, line-wrap, etc., will be
 prior to creating corresponding palm database records.

You can use Constructor to get a pretty close to WYSIWYG view. That's what I
usually do.
-
Danny @ Palm

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: fonts

2001-09-17 Thread Nullife

Is that a 'No'?

You've heard of MS Word, right?

-Nullife

Danny Epstein [EMAIL PROTECTED] wrote in message
news:62686@palm-dev-forum...

  Are there palm fonts for word processors such as MS Word? I have
editors
  who need to see what the spacing, indentation, line-wrap, etc., will be
  prior to creating corresponding palm database records.

 You can use Constructor to get a pretty close to WYSIWYG view. That's what
I
 usually do.
 -
 Danny @ Palm





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



RE: fonts

2001-09-17 Thread Danny Epstein

 Is that a 'No'?

A sheepish 'no', but a 'no' indeed. ;-)  AFAIK, we haven't made our fonts
available. I'm not sure what the legal issues would be. On a related note, I
noticed that someone published a pretty good imitation of the Graffiti font
on PalmGear. http://www.palmgear.com/software/showsoftware.cfm?prodID=16456

 You've heard of MS Word, right?

IMHO, 5.1a for Mac was the peak; it's been downhill since then.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: fonts + traps

2000-12-06 Thread Richard M. Hartman



Amir wrote in message 32245@palm-dev-forum...


"Richard M. Hartman" [EMAIL PROTECTED] wrote in message
news:32166@palm-dev-forum...



 Amir wrote in message 31982@palm-dev-forum...
 
 Where can I find...
 1)  ...the Palm system fonts as a text file?

 I don't even understand what you are asking for here ... fonts
 are essentially bitmaps ... and you want them as a -text- file?
I need the fonts as text files for PilRC.

Well ... the only thing I can think of is to get an existing font
file then write something to dump the data in hex so that you
can drop it into the PilRC file.

--

-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi/sec: not just a good idea, it's the LAW!




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: fonts + traps

2000-12-05 Thread Amir


"Richard M. Hartman" [EMAIL PROTECTED] wrote in message
news:32166@palm-dev-forum...



 Amir wrote in message 31982@palm-dev-forum...
 
 Where can I find...
 1)  ...the Palm system fonts as a text file?

 I don't even understand what you are asking for here ... fonts
 are essentially bitmaps ... and you want them as a -text- file?
I need the fonts as text files for PilRC.

 2)  ...a sample code for a hack (without HackMaster)?

 This is a contradiction in terms.  It is possible to patch an
 OS trap without hackmaster ... but a "hack" is a module
 that makes use of hackmaster to do this.  (That is, btw,
 the better way to go when patching OS traps.)
I ment "trap"...  Anyway - I have already found a sample.


 --
 -Richard M. Hartman
 [EMAIL PROTECTED]

 186,000 mi/sec: not just a good idea, it's the LAW!








-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/



Re: Fonts in CW?

2000-03-09 Thread John Valdes

On Thu, Mar 09, 2000 at 06:29:22PM -0500, Thu Nguyen wrote:
 Please tell me where I can find some information about fonts in CW. For
 example, what is the charecter set of font "symbol 7"?

I assume you mean the fonts that are available in PalmOS.  Some
information about the fonts and the characters within them is
available in the UI/Font.h and UI/Chars.h header files.  To actually
see what the characters look like, try using AsciiChart on your Palm
or in POSE (see http://astro.uchicago.edu/home/web/valdes/pilot/AsciiChart/).

John

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html