nanogui: Re: How to create fonts


Previous by date: 23 Sep 2005 01:18:08 +0100 Re: no MMU,how to port nanox, Aaron J. Grier
Next by date: 23 Sep 2005 01:18:08 +0100 Re: Hi i have some doubts... regarding display, Harshapvstus
Previous in thread: 23 Sep 2005 01:18:08 +0100 Re: How to create fonts, Greg Haerr
Next in thread:

Subject: Re: [nanogui] How to create fonts
From: "Harshapvstus" ####@####.####
Date: 23 Sep 2005 01:18:08 +0100
Message-Id: <001601c5bfd4$a532a9a0$0510a8c0@pvst6novr74bnd>

What i am doing is
I have created the fonts in windows. with 28 height and 14 width.
I am trying use these fonts in my progarmm but i am not getting the output.

i have made the fallowing changes.
in genfonts.c
MWCOREFONT gen_fonts[NUMBER_FONTS] array i have added at last
{&fontprocs, 0, 0, 0, CREATED_LARGE_FONT,          &font_created14x28}
In genfonts.h
changed the NUMBER_FONTS = 5
added the new object in wingdi.c for the CREATED_LARGE_FONT font

And in my code i use this object file to get the handle and display the
fonts .,
but there are no text displayed on to my screen. if i use default one then i
can see the fonts .

can u tell anything wrong i am doing or tell me to correct the things

harsha S


----- Original Message ----- 
From: "Greg Haerr" ####@####.####
To: "Harshapvstus" ####@####.#### "Michael Augst" ####@####.####
####@####.####
Sent: Friday, September 23, 2005 4:26 AM
Subject: Re: [nanogui] How to create fonts


> : I tried with the CreateFont() function its not working ...
>
> CreateFont does work
>
>
> do we need to
> : have the font file in our fonts directory or without that can we create
> : directly....
>
> Read and use your config file: there you specify the default
> directory.  Otherwise a full path is needed.  However, LOOK
> into the structures, you'll see that the LOGFONT structure only
> has a limited space for the full pathname...
>
> Regards,
>
> Greg
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.5/110 - Release Date: 9/22/2005
>
>


Previous by date: 23 Sep 2005 01:18:08 +0100 Re: no MMU,how to port nanox, Aaron J. Grier
Next by date: 23 Sep 2005 01:18:08 +0100 Re: Hi i have some doubts... regarding display, Harshapvstus
Previous in thread: 23 Sep 2005 01:18:08 +0100 Re: How to create fonts, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.