mpsuzuki | 1 May 2006 04:49
Picon

Re: [ft] Java version of Freetype?

Hi

On Sun, 30 Apr 2006 09:48:56 -0700 (PDT)
Bill Rowan <rowan <at> transbay.net> wrote:

>Hi,
>
>I need a java version of something like Freetype.  Has anyone else thought
>of this?  Is anyone else working on it?
>
>Bill Rowan

Just 1 year ago, I saw similar post:

http://lists.nongnu.org/archive/html/freetype/2005-05/msg00026.html

Regards,
mpsuzuki
Vaclav Koldus | 6 May 2006 17:28
Picon

[ft] Kerning info not read..

Hi all!

I'm using freetype (2.1.10) in my project which renders pictures and 
text informations on broadcasted
video.

I'm loading face like this:

    err = FT_New_Face( lib->ftlib, fpath, 0, &(txt->ftface) );

But then when using FT_HAS_KERNING ( like this )

    if (FT_HAS_KERNING( txt->ftface ) ){
    }

I always get false...

I'm pretty sure that there is kerning info in the font (I cheched it 
through font forge).
I've tried exporting font in both TrueType And Open Type format. Both of 
them
contain kerning info.  FreeType can't see kerning in none of them.

I also tried to get kerning info regardless of condition above.

    FT_Get_Kerning( txt->ftface, txt->text[i-1], txt->text[i], 
FT_KERNING_DEFAULT, &delta );

Everytime returns a few non-sense data. Everytime the same.

(Continue reading)

Werner LEMBERG | 6 May 2006 18:52
Picon

Re: [ft] Kerning info not read..


> But then when using FT_HAS_KERNING ( like this )
>
>     if (FT_HAS_KERNING( txt->ftface ) ){
>     }
>
>
> I always get false...

A known bug, fixed in the CVS (which will appear as 2.2.1 in a few
days).

    Werner
Paul Watson | 6 May 2006 19:08

[ft] ./configure --version does not emit Autoconf version information

Should './configure --version' print the version of Autoconf that was used to generate the 'configure'
script?  That seems to be what './configure --help' would suggest.  While './configure --version' does
emit some useful information, I do not yet see any version information about Autoconf, the project, or
anything else.

    http://sourceware.org/autobook/autobook/autobook_14.html

This is under Cygwin on XP.  I am still trying to build a shared library for use with graphviz.  It would be
helpful if someone who knows would tell me what I do not know.  Suggestions welcomed.  Thanks.

$ ./configure --version

FreeType build system -- automatic system detection

The following settings are used:

  platform                    unix
  compiler                    gcc
  configuration directory     ./builds/unix
  configuration rules         ./builds/unix/unix.mk

If this does not correspond to your system or settings please remove the file
`config.mk' from this directory then read the INSTALL file for help.

Otherwise, simply type `make' again to build the library,
or `make refdoc' to build the API reference (the latter needs python).

cd builds/unix; ./configure --version

Copyright (C) 2003 Free Software Foundation, Inc.
(Continue reading)

Werner LEMBERG | 7 May 2006 15:06
Picon

[ft-devel] changed mailing list settings


FreeTypers,

I've switched off the notification of emails which wait for approval.

    Werner
Werner LEMBERG | 8 May 2006 08:01
Picon

Re: [ft] ./configure --version does not emit Autoconf version information


> Should './configure --version' print the version of Autoconf that
> was used to generate the 'configure' script?

Yes, it should.  It's an omission that it doesn't.  Thanks for
pointing this out.  I've fixed it in the CVS.

    Werner
Dakai Liu | 10 May 2006 11:22

[ft] FreeType rasterization grid fitting regime?

Sorry If you have seen it on developer's mail list.

Hello all,

I am working on a rip project that uses FreeType 2.1.10 as font engine. 
While I render an Asian font at 6 point size at 600x600 dpi, the box 
size is 50x50. The font is a type1 font. FreeType produces un-even 
horizontal strokes. During debug, I found that a macro in ftraster.c:371

#define SCALED(x)  ( ( (x) << ras.scale_shift ) - (ras.precision_half) )

is trying to fit the points into the centre of a pixel. but some certain 
Y value is already at the centre of a pixel. So SCALED moved the Y value 
to the edge of the pixel. I guess this may contribute to the un-evenness 
of a horizontal stroke. So I modified it to:

#define SCALED(x)  ( (x) << ras.scale_shift )

So the whole grid fitting changed, but the output looks much better. 
also the serif at the top appeared. By examining the font file, at 6 
point size at 600dpi, we should have 1 pixel sized serif.

I am pretty much puzzled and need some enlightment. I enclosed the font 
file.

Thanks.

--

-- 
Dakai Liu
Software Engineer
(Continue reading)

David Turner | 10 May 2006 10:53
Favicon

Re: [ft] FreeType rasterization grid fitting regime?

Hello,

Sorry to say this, but it seems you don't understand what the code in 
ftraster.c does, or how it relates to the rest
of the font engine. Sadly, I won't be able to give you details here, 
since it'd be a bit long.

Have you tried running your program with the current FreeType CVS (which 
is about to be
released as 2.2.1 in a few days) ?. It contains a much better 
auto-hinter for CJK fonts, and this may improve
your rendering.

Hope this helps,

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

Dakai Liu a écrit :
> Sorry If you have seen it on developer's mail list.
>
> Hello all,
>
> I am working on a rip project that uses FreeType 2.1.10 as font 
> engine. While I render an Asian font at 6 point size at 600x600 dpi, 
> the box size is 50x50. The font is a type1 font. FreeType produces 
> un-even horizontal strokes. During debug, I found that a macro in 
> ftraster.c:371
>
> #define SCALED(x)  ( ( (x) << ras.scale_shift ) - (ras.precision_half) )
(Continue reading)

Dakai Liu | 11 May 2006 10:37

Re: [ft] FreeType rasterization grid fitting regime?

Hi,

I enabled the autohinter in our rip, and the bitmap output turns out to 
be very good. Sorry about the previous post. Thanks for your reply.

Dakai.

David Turner wrote:
> Hello,
> 
> Sorry to say this, but it seems you don't understand what the code in 
> ftraster.c does, or how it relates to the rest
> of the font engine. Sadly, I won't be able to give you details here, 
> since it'd be a bit long.
> 
> Have you tried running your program with the current FreeType CVS (which 
> is about to be
> released as 2.2.1 in a few days) ?. It contains a much better 
> auto-hinter for CJK fonts, and this may improve
> your rendering.
> 
> Hope this helps,
> 
> - David Turner
> - The FreeType Project  (www.freetype.org)
> 
> Dakai Liu a écrit :
> 
>> Sorry If you have seen it on developer's mail list.
>>
(Continue reading)

Werner LEMBERG | 13 May 2006 02:55
Picon

[ft-devel] FreeType version 2.2.1 released


FreeType 2.2.1 has been released.

It is available from

    http://savannah.nongnu.org/download/freetype/

or

    http://sourceforge.net/project/showfiles.php?group_id=3157

The latter site also holds older versions of the FreeType library.

See below for the relevant snippet from the CHANGES file.

Enjoy!

   Werner

----------------------------------------------------------------------

FreeType 2  is a software  font engine that  is designed to  be small,
efficient,  highly   customizable,  and  portable   while  capable  of
producing high-quality output (glyph images) of most vector and bitmap
font formats.

Note that  FreeType 2 is  a font service  and doesn't provide  APIs to
perform higher-level features, like text layout or graphics processing
(e.g.,  colored  text  rendering,  `hollowing',  etc.).   However,  it
greatly simplifies these tasks by providing a simple, easy to use, and
(Continue reading)


Gmane