David Turner | 3 Aug 2006 12:23
Favicon

Re: FW: [ft] cache manager

Hello,

As Werner said, I was in vacation, I'll try to answer your questions here:

Kristján V. Jónsson a écrit :
> Hi there.
> I am reposting this to the list since I got not a single response.  Maybe something went wrong.  These are
issues of some importance.
> 1) is important in our application since the node ID is actually a strong reference to an application
object that needs to be released when the CM doesn't know about it any more.
> 2) is perhaps more important.  The CM is only truly useful if one can hook into its loading and
transformation stage to provide custom slanting and embolding and perhaps other effects.  Somewhere in
the archives someone mentioned subclassing in this context.  Any more infor on that?
>
>   
You're essentially asking for the ability to define custom nodes within 
the cache, and this is something that did exist
in previous releases of FreeType, but was explicitely removed for 2.2.1 
for several reasons:

- first of all, nobody seemed to use this "feature"

- second, I wanted to be able to change some internals in order to improve
  certain aspects of the implementation, without breaking clients.

Before 2.2.1, it was possible to write a "custom cache" used to store 
custom nodes which could be *anything*,
including custom glyph images. However, the level of details to master 
to do that was very high (unfortunately,
writing a cache that is efficient, flexible and deals well with 
(Continue reading)

Julian Gardner | 7 Aug 2006 00:55

[ft] FTJAM

Right just downloaded FTJAM2.5.2, built it ( under XP) but cant use it.
 
I have a project working with JAM 2.3 but when i compile with the new FTJAM all my -I are /I
 
I have modifed the jambase to add my compiler ( Metaware ARC Compiler 4.5c) as a toolset. I took the modifications from the 2.3 Jambase
 
joolz
 
_______________________________________________
Freetype mailing list
Freetype <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype
pedamado | 8 Aug 2006 18:08
Picon

[ft] Typeforge: Online Projects Survey

Freetype:

As part of my MA thesis on online collaboration projects I am conducting a survey in order to learn better
some of the questions that lead people to create or participate on collaborative projects like your own
website (project): freetype.org.

This shouldn't take more than a minute to anwser (multiple choice) and the information is anonymous:
http://www.surveymonkey.com/s.asp?A=140937199E45362

Thank you for your participation,

    Pedro Amado
    www.typeforge.net

If you can, please publish the link to this survey on your website or refer it to other online content producers:
http://www.surveymonkey.com/s.asp?u=332862442456

If you wish to know more about this topic, about me or the work being developed please contact me:
pedamado <at> gmail.com

For autmatic removal of your contact from my list:
http://www.surveymonkey.com/r.asp?A=140937199E45362

***Powered by SurveyMonkey.com***
Philip Deets | 8 Aug 2006 08:18
Picon

[ft] opening a face from limited information

I am making an application with wxWidgets.  I need a way to use the font  
selection dialog to select the font to use with freetype.  The only useful  
information I get for what the user selected is an instance of the wxFont  
class. Documentation for that class can be found at  
<http://www.wxwindows.org/manuals/2.6.3/wx_wxfont.html>.

Is there any way to make a freetype face from a wxFont instance?

Thanks,
Phil

--

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
mpsuzuki | 9 Aug 2006 03:17
Picon

Re: [ft] opening a face from limited information

Hi,

On Tue, 08 Aug 2006 02:18:34 -0400
"Philip Deets" <pjdeets2 <at> gmail.com> wrote:
><http://www.wxwindows.org/manuals/2.6.3/wx_wxfont.html>.

>Is there any way to make a freetype face from a wxFont instance?

According to the page, wxFont instance only shows abstract
informations like family classification, weight, flags to
synthesize, and character encodings.

Therefore, if I were forced to open a FreeType face for
given wxFont instance, I will have to scan all font directories,
open all font files, and compare informations of Panose entry
in OS/2 table of each font file, versus given wxFont:
	wxFontFamily	-> Family, Serif
	wxFontWeight	-> Weight
	wxEncoding	-> UnicodeRange, CodePageRange

However, looking at the encoding list of wxFontEncoding,
the design wxFontEncoding enumerator is focussed to
8bit encodings for Roman-derived scripts. Most of them
are not supported by TrueType font. And, FreeType does
not provide code-convertor with such legacy encodings,
therefore, you have to implement the code convertor by
yourself.

I think such scanning is heavy process. Using fontconfig
will work faster.

Regards,
mpsuzuki
mpsuzuki | 9 Aug 2006 03:22
Picon

Re: [ft] opening a face from limited information

On Wed, 9 Aug 2006 10:17:41 +0900
mpsuzuki <at> hiroshima-u.ac.jp wrote:
>open all font files, and compare informations of Panose entry
>in OS/2 table of each font file, versus given wxFont:

I slipped to notice the reference about Panose, See:
	http://partners.adobe.com/public/developer/opentype/index_os2.html

And I have to notice in advance, FreeType2 does not synthesize
OS/2 table if the font file doesn't have it. For example, you
cannot extract Panose info from X11 bitmap fonts: PCF etc.

Regards,
mpsuzuki
Werner LEMBERG | 10 Aug 2006 08:28
Picon

Re: [ft] FTJAM


> Right just downloaded FTJAM2.5.2, built it ( under XP) but cant use
> it.  [...]

It seems that David is still on vacation, more or less :-) Please ask
this question again in the beginning of September so that it isn't
forgotten.

    Werner
David Turner | 10 Aug 2006 10:22
Favicon

Re: [ft] FreeType compilation under Borland C++ Builder 5

Hello,

I can't reproduce the problem here, I'm also using mingw32-make.exe and 
the borland C++ toolset
(I'm using the free compiler, must be 5.5). Everything seems to build 
perfectly.

Just a question, are you on Windows 95, 98, 2000 or XP ?

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)

Przemysław Więckowski a écrit :
> Hello , 
>
>   i have a problem with compilation FreeType for Borland C++ Builder platform ( version 5 ). For compliation
i use mingw32-make ( v. 3.80 ) , after i succesfully setup platform using 
>
>  mingw32-make setup bcc32
>
>  i started compliation , 
>
>  mingw32-make....
>
>  after few second i get below message 
>
> .\src\psnames\psmodule.c:
> bcc32 -oobjs/apinames.exe src/tools/apinames.c
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
> src/tools/apinames.c:
> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
> .\objs\apinames.exe -oobjs/freetype.def -dfreetype.dll -wB ./include/freetype/fr
> eetype.h ./include/freetype/ftbbox.h ./include/freetype/ftbdf.h ./include/freety
> pe/ftbitmap.h ./include/freetype/ftcache.h ./include/freetype/ftchapters.h ./inc
> lude/freetype/fterrdef.h ./include/freetype/fterrors.h ./include/freetype/ftglyp
> h.h ./include/freetype/ftgxval.h ./include/freetype/ftgzip.h ./include/freetype/
> ftimage.h ./include/freetype/ftincrem.h ./include/freetype/ftlist.h ./include/fr
> eetype/ftlzw.h ./include/freetype/ftmac.h ./include/freetype/ftmm.h ./include/fr
> eetype/ftmodapi.h ./include/freetype/ftmoderr.h ./include/freetype/ftotval.h ./i
> nclude/freetype/ftoutln.h ./include/freetype/ftpfr.h ./include/freetype/ftrender
> .h ./include/freetype/ftsizes.h ./include/freetype/ftsnames.h ./include/freetype
> /ftstroke.h ./include/freetype/ftsynth.h ./include/freetype/ftsystem.h ./include
> /freetype/fttrigon.h ./include/freetype/fttypes.h ./include/freetype/ftwinfnt.h
> ./include/freetype/ftxf86.h ./include/freetype/t1tables.h ./include/freetype/ttn
> ameid.h ./include/freetype/tttables.h ./include/freetype/tttags.h ./include/free
> type/ttunpat.h
> process_begin: CreateProcess(C:\freetype-2.2.1\objs\apinames.exe, .\objs\apiname
> s.exe -oobjs/freetype.def -dfreetype.dll -wB ./include/freetype/freetype.h ./inc
> lude/freetype/ftbbox.h ./include/freetype/ftbdf.h ./include/freetype/ftbitmap.h
> ./include/freetype/ftcache.h ./include/freetype/ftchapters.h ./include/freetype/
> fterrdef.h ./include/freetype/fterrors.h ./include/freetype/ftglyph.h ./include/
> freetype/ftgxval.h ./include/freetype/ftgzip.h ./include/freetype/ftimage.h ./in
> clude/freetype/ftincrem.h ./include/freetype/ftlist.h ./include/freetype/ftlzw.h
>  ./include/freetype/ftmac.h ./include/freetype/ftmm.h ./include/freetype/ftmodap
> i.h ./include/freetype/ftmoderr.h ./include/freetype/ftotval.h ./include/freetyp
> e/ftoutln.h ./include/freetype/ftpfr.h ./include/freetype/ftrender.h ./include/f
> reetype/ftsizes.h ./include/freetype/ftsnames.h ./include/freetype/ftstroke.h ./
> include/freetype/ftsynth.h ./include/freetype/ftsystem.h ./include/freetype/fttr
> igon.h ./include/freetype/fttypes.h ./include/freetype/ftwinfnt.h ./include/free
> type/ftxf86.h ./include/freetype/t1tables.h ./include/freetype/ttnameid.h ./incl
> ude/freetype/tttables.h ./include/freetype/tttags.h ./include/freetype/ttunpat.h
> , ...) failed.
> make (e=87): Parametr jest niepoprawny.
> C:\MinGWStudio\MinGW\bin\mingw32-make.EXE: *** [objs/freetype.def] Error 87
>
>
> I don't know why ( it looks like 'there is no free system resources.. ) , but i obtain error
CreateProcess(... ble, ble ble... ) failed make(e=87): Invalid parameter.
>
> After few minutes i find out that it is apinames tool problem ( but still i don't know why ), so i've used tool
located in C:\freetype-2.2.1 main directory ( this file ( apinames.exe ) was copied into ./obj directory
). After thad i had small warning from TLib that library is to big and i should use /P32 parameter , so after i
done it - i have successfuly compiled freetype library... I hope so... because i don't used it yet.
>
>  Therefore i wondering why i sholud do so many operations before i get success. Can abybody explain my that? 
>
>  Regards 
>  Przemek
>
> ------------------------------------------------------------------------
> Zobacz, gdzie mieszka Twoja dziewczyna!
> http://map24.interia.pl/
>
>
>
>
> _______________________________________________
> Freetype mailing list
> Freetype <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/freetype
>
>   

***********************************************************************************
Information contained in this email message is confidential and may be privileged, and is intended only
for use of the individual or entity named above. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please immediately notify the
postmaster <at> nds.com and destroy the original message.
*********************************************************************************** 
Yatharth Kumar | 10 Aug 2006 11:32

RE: [ft] FreeType compilation under Borland C++ Builder 5

Here are few things that may help u out 

I also had the same problem, when I was cross-compiling the library .
It happens so because apinames exe file used for libraries internal purpose,
So I crosscompiled all the library but apinames, which I compiled for the host machine, as it is used for
parsing other files.
In my case host was linux so I used gcc for apinames , and host was ARM so I used relevant cross compiler for it,
and every thing seems to be fine

I think david also wants to ask about the host machine u were using ...??

Regards,
Yatharth

-----Original Message-----
From: freetype-bounces+yatharth.kumar=conexant.com <at> nongnu.org
[mailto:freetype-bounces+yatharth.kumar=conexant.com <at> nongnu.org] On Behalf Of David Turner
Sent: Thursday, August 10, 2006 1:52 PM
To: Przemysław Więckowski
Cc: freetype <at> nongnu.org
Subject: Re: [ft] FreeType compilation under Borland C++ Builder 5

Hello,

I can't reproduce the problem here, I'm also using mingw32-make.exe and 
the borland C++ toolset
(I'm using the free compiler, must be 5.5). Everything seems to build 
perfectly.

Just a question, are you on Windows 95, 98, 2000 or XP ?

Regards,

- David Turner
- The FreeType Project  (www.freetype.org)

Przemysław Więckowski a écrit :
> Hello , 
>
>   i have a problem with compilation FreeType for Borland C++ Builder platform ( version 5 ). For compliation
i use mingw32-make ( v. 3.80 ) , after i succesfully setup platform using 
>
>  mingw32-make setup bcc32
>
>  i started compliation , 
>
>  mingw32-make....
>
>  after few second i get below message 
>
> .\src\psnames\psmodule.c:
> bcc32 -oobjs/apinames.exe src/tools/apinames.c
> Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland
> src/tools/apinames.c:
> Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
> .\objs\apinames.exe -oobjs/freetype.def -dfreetype.dll -wB ./include/freetype/fr
> eetype.h ./include/freetype/ftbbox.h ./include/freetype/ftbdf.h ./include/freety
> pe/ftbitmap.h ./include/freetype/ftcache.h ./include/freetype/ftchapters.h ./inc
> lude/freetype/fterrdef.h ./include/freetype/fterrors.h ./include/freetype/ftglyp
> h.h ./include/freetype/ftgxval.h ./include/freetype/ftgzip.h ./include/freetype/
> ftimage.h ./include/freetype/ftincrem.h ./include/freetype/ftlist.h ./include/fr
> eetype/ftlzw.h ./include/freetype/ftmac.h ./include/freetype/ftmm.h ./include/fr
> eetype/ftmodapi.h ./include/freetype/ftmoderr.h ./include/freetype/ftotval.h ./i
> nclude/freetype/ftoutln.h ./include/freetype/ftpfr.h ./include/freetype/ftrender
> .h ./include/freetype/ftsizes.h ./include/freetype/ftsnames.h ./include/freetype
> /ftstroke.h ./include/freetype/ftsynth.h ./include/freetype/ftsystem.h ./include
> /freetype/fttrigon.h ./include/freetype/fttypes.h ./include/freetype/ftwinfnt.h
> ./include/freetype/ftxf86.h ./include/freetype/t1tables.h ./include/freetype/ttn
> ameid.h ./include/freetype/tttables.h ./include/freetype/tttags.h ./include/free
> type/ttunpat.h
> process_begin: CreateProcess(C:\freetype-2.2.1\objs\apinames.exe, .\objs\apiname
> s.exe -oobjs/freetype.def -dfreetype.dll -wB ./include/freetype/freetype.h ./inc
> lude/freetype/ftbbox.h ./include/freetype/ftbdf.h ./include/freetype/ftbitmap.h
> ./include/freetype/ftcache.h ./include/freetype/ftchapters.h ./include/freetype/
> fterrdef.h ./include/freetype/fterrors.h ./include/freetype/ftglyph.h ./include/
> freetype/ftgxval.h ./include/freetype/ftgzip.h ./include/freetype/ftimage.h ./in
> clude/freetype/ftincrem.h ./include/freetype/ftlist.h ./include/freetype/ftlzw.h
>  ./include/freetype/ftmac.h ./include/freetype/ftmm.h ./include/freetype/ftmodap
> i.h ./include/freetype/ftmoderr.h ./include/freetype/ftotval.h ./include/freetyp
> e/ftoutln.h ./include/freetype/ftpfr.h ./include/freetype/ftrender.h ./include/f
> reetype/ftsizes.h ./include/freetype/ftsnames.h ./include/freetype/ftstroke.h ./
> include/freetype/ftsynth.h ./include/freetype/ftsystem.h ./include/freetype/fttr
> igon.h ./include/freetype/fttypes.h ./include/freetype/ftwinfnt.h ./include/free
> type/ftxf86.h ./include/freetype/t1tables.h ./include/freetype/ttnameid.h ./incl
> ude/freetype/tttables.h ./include/freetype/tttags.h ./include/freetype/ttunpat.h
> , ...) failed.
> make (e=87): Parametr jest niepoprawny.
> C:\MinGWStudio\MinGW\bin\mingw32-make.EXE: *** [objs/freetype.def] Error 87
>
>
> I don't know why ( it looks like 'there is no free system resources.. ) , but i obtain error
CreateProcess(... ble, ble ble... ) failed make(e=87): Invalid parameter.
>
> After few minutes i find out that it is apinames tool problem ( but still i don't know why ), so i've used tool
located in C:\freetype-2.2.1 main directory ( this file ( apinames.exe ) was copied into ./obj directory
). After thad i had small warning from TLib that library is to big and i should use /P32 parameter , so after i
done it - i have successfuly compiled freetype library... I hope so... because i don't used it yet.
>
>  Therefore i wondering why i sholud do so many operations before i get success. Can abybody explain my that? 
>
>  Regards 
>  Przemek
>
> ------------------------------------------------------------------------
> Zobacz, gdzie mieszka Twoja dziewczyna!
> http://map24.interia.pl/
>
>
>
>
> _______________________________________________
> Freetype mailing list
> Freetype <at> nongnu.org
> http://lists.nongnu.org/mailman/listinfo/freetype
>
>   

***********************************************************************************
Information contained in this email message is confidential and may be privileged, and is intended only
for use of the individual or entity named above. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please immediately notify the
postmaster <at> nds.com and destroy the original message.
*********************************************************************************** 

_______________________________________________
Freetype mailing list
Freetype <at> nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype
Philip Deets | 9 Aug 2006 20:48
Picon

Re: [ft] opening a face from limited information

I could not get fontconfig to compile under windows with visual c++.  I do  
not know what a os/2 table is or panose or anything like that.

Does anyone know a cross-platform way of getting all the fonts on a system  
so I can open them all and check their names to try to find a match?

Thanks, Phil

--

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Gmane