[ft-devel] limiting the heap memory used by a TrueType font

2007-12-11 Thread Graham Asher
in with the existing architecture. Best regards, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

[ft-devel] tt_face_init returns incorrect error code

2007-11-28 Thread Graham Asher
= tt_face_load_loca( face, stream ); if ( !error ) error = tt_face_load_cvt( face, stream ); if ( !error ) error = tt_face_load_fpgm( face, stream ); if ( !error ) error = tt_face_load_prep( face, stream ); #endif Best regards, Graham Asher

RE: [ft-devel] Anti alias plus colour ... help needed

2007-11-15 Thread Graham Asher
. Graham Asher Cartography Ltd. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Jackson Sent: 14 November 2007 20:40 To: freetype-devel@nongnu.org Subject: [ft-devel] Anti alias plus colour ... help needed I'm a newbie to freetype, but I have managed

RE: [ft-devel] Glyph bitmap size question

2007-11-15 Thread Graham Asher
Yes - the number of rows is the height of the glyph bitmap in pixels, which is usually less than the point size and need never equal it. Graham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Jackson Sent: 15 November 2007 20:25 To:

RE: [ft-devel] Glyph bitmap size question

2007-11-15 Thread Graham Asher
of the font'. I would like to gently suggest some heavy googling for typographic terminology and custom and practice, and use of Wikipedia it's all out there. Also, read The TeXBook by Donald Knuth, which explains typographic terms very well. Best regards, Graham Asher -Original Message- From

RE: [ft-devel] FreeType2 2.3.5 Visual Studio Solution Warnings

2007-11-08 Thread Graham Asher
This worked for me a while ago when compiling FreeType into a Windows DLL: #define FT_EXPORT(return_type) __declspec(dllexport) return_type #define FT_EXPORT_DEF(return_type) __declspec(dllexport) return_type Graham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

RE: [ft-devel] we don't need both FT_CONFIG_OPTION_POSTSCRIPT_NAMES and FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES

2007-08-03 Thread Graham Asher
Werner, I'll prepare a patch if I have time, and indeed install GNU diff if I can find it and understand yet another utility... but it's a miracle I have time to post anything back to the FreeType list actually. Personally I find narrative interspersed with snippets easier to follow than diff

[ft-devel] we don't need both FT_CONFIG_OPTION_POSTSCRIPT_NAMES and FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES

2007-08-01 Thread Graham Asher
FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES to #ifdef FT_CONFIG_OPTION_POSTSCRIPT_NAMES which will allow the more easily understandable positive option from ftoption.h to have an effect. Best wishes, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org

RE: [ft-devel] we don't need both FT_CONFIG_OPTION_POSTSCRIPT_NAMES andFT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES

2007-08-01 Thread Graham Asher
from ftoption.h to have an effect. Best wishes, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel ___ Freetype-devel mailing

RE: [ft-devel] we don't need both FT_CONFIG_OPTION_POSTSCRIPT_NAMES and FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES

2007-08-01 Thread Graham Asher
And - one other thing - we need to enclose the whole of pstables.h in #ifdef FT_CONFIG_OPTION_ADOBE_GLYPH_LIST ... #endif Graham -Original Message- From: Graham Asher [mailto:[EMAIL PROTECTED] Sent: 01 August 2007 16:35 To: 'freetype-devel@nongnu.org' Subject: RE: [ft-devel] we don't

[ft-devel] suggested improvement to FT_GlyphSlot_Embolden

2007-07-25 Thread Graham Asher
-format == FT_GLYPH_FORMAT_BITMAP ) slot-bitmap_top += ystr 6; } Using the new function I can then pass the boldness value 65536 / 32 = 2048 to get extra boldness of 1/32 em. I have tested these changes and they work well. Best wishes, Graham Asher

[ft-devel] anti-aliasing and hinting

2007-06-27 Thread GRAHAM ASHER
with gamma correction. The real question is: what is Word doing to avoid drop-outs and successfully combine hinting with anti-aliasing. Best regards, Graham Asher attachment: image001.jpg___ Freetype-devel mailing list Freetype-devel@nongnu.org http

[ft-devel] discrepancy in underline offset

2007-06-20 Thread Graham Asher
- (face-postscript.underlineThickness / 2)); I have tested it and it does the job. Best regards, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

RE: [ft-devel] Unpatented hinting when vertical and horizontal point sizes are different

2007-05-29 Thread Graham Asher
Thanks - that is certainly useful information. But I must stress that it is unlikely that I will find very much time to look into this. Yes, I do feel guilty. Best regards, Graham _ From: Chris Altick [mailto:[EMAIL PROTECTED] Sent: 29 May 2007 18:12 To: Graham Asher; Werner

RE: [ft-devel] Unpatented hinting when vertical and horizontal point sizes are different

2007-05-28 Thread Graham Asher
I shall try to look at it - coincidentally, I am doing some FreeType work right now - but it is hard for me to make a commitment to fix this by a certain date. Graham -Original Message- From: Werner LEMBERG [mailto:[EMAIL PROTECTED] Sent: 25 May 2007 08:16 To: [EMAIL PROTECTED] Cc:

RE: [ft-devel] Re: disappointing results with autohinting

2007-05-25 Thread Graham Asher
, Graham -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Antoine Leca Sent: 25 May 2007 09:02 To: freetype-devel@nongnu.org Subject: [ft-devel] Re: disappointing results with autohinting Graham Asher wrote: I am getting very bad results autohinting Times New

[ft-devel] tt_size_ready_bytecode stub is unnecessary

2007-05-24 Thread Graham Asher
of ttobjs.c. Best regards, Graham Asher ttobjs.c Description: Binary data ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

[ft-devel] dropout in '2' in times.ttf

2007-05-22 Thread Graham Asher
the bottom has adjacent values 2h and 11h, totalling 13h = 19; thus the stem has an effective horizontal width of 19/255 = 0.075 pixels, which is incredibly narrow. Naturally the pixels don't show up at all. Thanks in advance for any help or advice. Graham Asher attachment: times-2

[ft-devel] RE: dropout in '2' in times.ttf

2007-05-22 Thread Graham Asher
rendering. The question still arises of how to sensibly apply hinting to anti-aliased characters, which can still benefit from snapping stem widths to integral pixels, particularly at small sizes. Best regards, Graham -Original Message- From: Graham Asher [mailto:[EMAIL PROTECTED] Sent: 22 May

[ft-devel] bug report: access through null pointer when out of memory in open_face

2007-05-22 Thread Graham Asher
) { ... }'. It may be better to put the checks inside destroy_charmaps and clazz-done_face. I leave that for David or Werner to decide. Best wishes, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo

[ft-devel] re: regression: 't' and 'h' in Arial Narrow are no longer rendered correctly

2007-05-21 Thread Graham Asher
further; I started arbitrarily by going back to the last revision of 2006. Best wishes, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

[ft-devel] RE: regression: 't' and 'h' in Arial Narrow are no longer rendered correctly

2007-05-21 Thread Graham Asher
before and after pictures of Arial Narrow (ARIALN.TTF dated 12th Nov '98, supplied with Windows XP, size 134,200 bytes). To recapitulate, I have narrowed the regression down to a change to ttinterp.c some time in 2007 - after revision 1.86 of that file. Best wishes, Graham Asher attachment: arial

[ft-devel] RE: regression: 't' and 'h' in Arial Narrow are no longer rendered correctly

2007-05-21 Thread Graham Asher
I've identified the point of the regression as the change from ttinterp 1.96 to 1.97. I shall revert to rev 1.96 pending a proper fix. Graham -Original Message- From: Graham Asher [mailto:[EMAIL PROTECTED] Sent: 21 May 2007 10:33 To: 'Graham Asher'; freetype-devel@nongnu.org Subject

RE: [ft-devel] compiler warnings produced by the RVCT ARM compiler

2007-05-15 Thread Graham Asher
Werner, I am sorry but I shan't be able to work on a ready-to-run ARM compilation. The trouble is, I am committed to working six days a week at the moment, and I can't face doing any more. On the subject of the ctype.h functions, there is nevertheless still a good case for removing the

RE: [ft-devel] patch for makedepend failure when building FreeType

2007-05-08 Thread Graham Asher
I'm really not sure what to do about this - I'm sorry, but I haven't investigated it enough yet. I think the *real* fix would be a fix to makedepend, as you imply. I was hoping that somebody more expert than me could think of the obvious right way to go. No, I agree it is a bad idea to patch

[ft-devel] fixes for compiler warnings

2007-05-07 Thread Graham Asher
of aflatin.c to this (adding cast to FT_Bool): axis-extra_light = (FT_Bool)(FT_MulFix( axis-standard_width, scale ) 32 + 8); Best regards, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo

RE: [ft-devel] freetype : visual projects for wince

2007-05-01 Thread Graham Asher
. and it forms part of the Symbian platform. It also works well (if provided with a custom memory allocator) on Palm OS. Graham Asher Cartography Ltd. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent RICHOMME Sent: 01 May 2007 12:25 To: freetype-devel@nongnu.org

[ft-devel] bug fix: pointers in FT_Open_Args should be const

2007-01-22 Thread Graham Asher
driver; FT_Int num_params; const FT_Parameter* params; } FT_Open_Args; Best wishes and happy new year to everybody, Graham Asher now into my ninth year of using FreeType! ___ Freetype-devel mailing list Freetype-devel

RE: [ft-devel] LCD Filtering changes

2006-11-15 Thread Graham Asher
I just want to request that FreeType be released more regularly. Preferably, separate stable and devel branches should be maintained. Seconded, with as much emphasis as possible - especially the second part. Graham Asher (about to port FreeType to a new platform and getting nervous about

RE: [ft-devel] Possible solution for TrueType patent problems...

2006-11-06 Thread Graham Asher
Two of the three patents have already expired, which may be helpful. Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

RE: [ft-devel] ClearType like rendering

2006-02-02 Thread Graham Asher
. Best regards, Graham Asher ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel

<    1   2