You should do it by yourself, the freetype only support subpixel...
2010/11/22
> I had to include the "ftlcdfil.h" file from my main project. I was
> expecting the FT_CONFIG_OPTION_SUBPIXEL_RENDERING macro to enable inclusion
> of the file in the FreeType source, but apparently it doesn't so t
Be sure that the file "ftlcdfil.c" is in your project.
I remembered the "ftlcdfil.c" is not include int the VS project.
2010/11/21 Werner LEMBERG
>
> [adding freetype-devel again]
>
> > The fact the #define statement is detected indicates the code is not
> > working as it is supposed to. Maybe
There is a message in the HarfBuzz website:
"There are no releases available for download yet, but we expect to start
0.x release soon and aim for a 1.0 release with stable API around March
2011."
2010/11/8 Behdad Esfahbod
> You need HarfBuzz.
>
> On 11/06/10 04:36, 丁力 wrote:
OK.
Thanks.
do you know any other small open source library can do this job?
i just want to display the vertical characters, the layout engine is to big
for me.
2010/11/6 Werner LEMBERG
>
> > i want to display Japanese characters in vertical mode. in some
> > opentype font, i only can get som
dear all:
i want to display Japanese characters in vertical mode.
in some opentype font, i only can get some bracket glyphs in vertical mode
by gsub table such as the "MS Mincho".
i found that it seems no APIs in freetype to translate the horizontal glyph
to vertical mode by gsub.
does anyone can
Does the freetype support .ac3 format font which is in Windows mobile system?
Thanks.
Bigpin
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel
This bug was also existed in ver 2.3.9.
Does everyone can fix it?
-Original Message-
From: 丁力 [mailto:invalid.nore...@gnu.org]
Sent: Monday, July 07, 2008 10:36 AM
To: 丁力; Werner LEMBERG
Subject: [bug #23786] Character displayed wrong when xSize != ySize。
URL:
<h
When I replace the version 2.3.9.
I found some the function "FT_Face_CheckTrueTypePatents" did different results.
Are this APIs different between 2.3.7 and 2.3.9?
Thanks.
Bigpin
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://l
Thanks.
I will test the font and the FTGrid again.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:w...@gnu.org]
Sent: Wednesday, April 22, 2009 9:19 PM
To: din...@founder.com
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] Render fault.
> This a several blocks in the font
This a several blocks in the font cannot render correctly with 2.3.9。
And the test demo FTGrid crashed.
Thanks.
Bigpin
F2.ttf
Description: F2.ttf
<>___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listi
In the FtViewer, after the function “FTC_ImageCache_LookupScaler” was call,
I can get the two value:
dXAdvance = (glyph->advance.x) >> 16;
dYAdvance = (glyph->advance.y) >> 16;
And what I want to know is how to get the values without calling the function
“FTC_ImageCache_LookupScaler”
Does the Freetype support the ligature of the Opentype ?
If not, how can I display the ligature?
For example “fi”、”ff” and so on.
Thanks very munch!
Bigpin
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailma
OK
Thanks.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2008 7:23 PM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: Some character can not be render.
> There is a character whose index is 4173. It’s a character “假”.
>
>
Is there any different between Freetype and GDI?
If the font size is 10, it seems some different between GDI and Freetype.
Thanks .
Bigpin
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freety
Yes, your right. The PDF software is acrobat.
Thanks.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 11, 2008 3:34 PM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: Some character can not be render.
> There is a char
En。。
Can you tell me which files you have change? I need a stable vision, I want
merge you code to vision 2.3.7.
Because my internet connection has some problems, I have not test yet. I will
test it as soon as possible.
Thanks.
Bigpin
-Original Message-
From: Werner LEMBERG [mailt
Maybe your path for the lib is not right~~~
Please check it.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mikau16
Sent: Wednesday, July 09, 2008 6:46 AM
To: freetype-devel@nongnu.org
Subject: [ft-devel] impossble trouble installing free type on Vis C+
Have you check this problem?
I have check the version 2.3.7, and it seems better than before, but also
different from the version 2.3.1 which is right.
Can you tell me what cause this?
Thanks~
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Wednesday, Ap
When I use the memory font, I use the function “FT_New_Memory_Face” to new a
font face.
There is a font buffer in the function parameters.
Does the freetype save a copy of the buffer?
I want to know when the buffer was free?
Does it can be freed buy any function or when the freetype was d
OK, I have get the code again and build it.
The fonts which I can't get the right result from displayed well.
Thanks your work.
Wishing for next release version.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 5:15 PM
To: [EMAIL PROT
En...
Werner, I want to known the progress of this bug. When this bug can be fixed?
Because the bug affected seriously our product.
Or, you can give me a provisional method to fix it.
Thanks very much.
Whish for your reply.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL
The changlog say:
2007-03-05 David Turner <[EMAIL PROTECTED]>
* src/truetype/ttobs.c (tt_size_init_bytecode): Clear the `x_ppem'
and `y_ppem' fields of the `TT_Size.metrics' structure, not those of
`TT_Size.root.metrics'. Problem reported by Daniel Glöckner
<[EMA
He he, it doesn't matter.
You may be very busy. :-)
I just want to know whether change for a bug, or it is a clerical error:
If it is a clerical error, I want to change the code in my ".lib" temporarily.
have show the different between my local copy(cvs) and the
“VER-2-3-1-FINAL” in CVS
En ……
Can anybody tell me?
Thanks.
Bigpin
From: DingLi(丁力) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 16, 2008 3:05 PM
To: DingLi(丁力); freetype-devel@nongnu.org
Cc: Werner LEMBERG
Subject: RE: [ft-devel] Something about the font size.
Hi,I think I have found the position
TECTED] On Behalf Of DingLi(丁力)
Sent: Monday, April 14, 2008 2:31 PM
To: freetype-devel@nongnu.org
Subject: RE: [ft-devel] Something about the font size.
I have debug this. And the version 2.3.4 is also right. But it’s wrong with the
version 2.3.5.
What a changes caused this problem. I can’t find i
OK, thanks.
I'm glad to debug this problem to find the reason. But I'm not familiar with
some party of the code.
Maybe it will very slow.
I will do my best.
Thanks.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Monday, April 14, 2008 3:23 PM
To: [EMAI
I have debug this. And the version 2.3.4 is also right. But it’s wrong with the
version 2.3.5.
What a changes caused this problem. I can’t find it out.
Can anybody tell me?
Bigpin
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DingLi(丁力)
Sent: Wednesday, April 09
Thanks.
But how can I fix the problem which I met.
Bigpin
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2008 1:56 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; freetype-devel@nongnu.org
Subject: Re: Report a bug.
> BTW, the very change is
Thanks.
I've got it.
Bigpin
-邮件原件-
发件人: Werner LEMBERG [mailto:[EMAIL PROTECTED]
发送时间: 2008年4月2日 14:12
收件人: [EMAIL PROTECTED]
抄送: freetype-devel@nongnu.org
主题: Re: [ft-devel] The render bug about the character 'M' and 'k'.
> I found some bitmap seems wrong when I render some character
I want got a simply FreeType lib, and want to how to do it?
In my project, I want to build a FreeType lib which only support “TrueType” and
“OpenType”. What should I do? And how to do it?
Thanks.
Bigpin
___
Freetype-devel mailing list
Freetype-
Yes, Some recent systems with Windows Mobile used compressed TTF as system
fonts, instead of normal TTF.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 5:57 PM
To: DingLi (丁力)
Cc: [EMAIL PROTECTED]; freetype-devel@nongnu.org
I want to use it in windows mobile platform where a lot of this kind of font
were used.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 4:07 PM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] Does the freetyp
That's right. Just add the preprocessor definition "DEVICE_WIN32" to the
project.
Bigpin.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allan Yang, Jian
Hua - SH
Sent: Tuesday, January 08, 2008 10:01 PM
To: freetype-devel@nongnu.org
Subject: Re: [ft-d
When I use the codes:
ftErrorCode = FTC_SBitCache_Lookup(m_ftcSBitsCache,
&m_ftcCurrentFont, nGlyphIndex, &sbit, DFE_Null);
if (!ftErrorCode && sbit->buffer)
{
pBmpChar->nRows = sbit->height;
pBmpChar->
Thanks! I have got it.
Most of it can be displayed correctly.
But There are also some question:
The first one, in the font F4.1.ttf,the glyph(index:3058, maybe the Chinese
character "版") can not be parsed.
The second, I use the function "FTC_SBitCache_Lookup" to get the bitmap, it is
wrong. And
? I complied it in VC6.0.
Should I do some special setting ?
Thanks~
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Friday, December 07, 2007 5:38 PM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] The font can't be parsed correctly
>
Thanks, which version that you have added support for those two operators?
I have tested the CVS version, but it also can not be display correctly.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 11:43 PM
To: [EMAIL PROTECTED]
Cc: freet
Hello everyone:
There are two fonts which I extract form a PDF, and some other pdf viewers
can display it correctly.
And I founde that when call the function “FTC_ImageCache_Lookup” it return the
error ID is 3.
Best regard!
Bigpin
F4.1.ttf
Description: F4.1.ttf
F5.1.ttf
D
I want to get the circumrectangle of the character.
I use the function FT_Outline_Get_BBox to get the bound of a character, and I
got the box left-bottom point (47, -112) and right-top point (627, 497). I
think it is not the right result.
The font’units_per_EM is 1000,
Asce
I have not use the debug of the freetype. I use the tools "TrueType v1.0 Dump
Program" which is download from Microsoft websit.
And I see the cmap table in the dump result.
For example, if I want get the character "壬", and the "壬"'s Unicode is 58EC.
In the font the "壬"'s index is 4766:
I found it in Windows Vista system. It's size is about 15Mb.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 29, 2007 6:22 AM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] About the Cmap format 12
> I found that F
I found that FreeType can not get the correct glyph index from the font
“Simsun-extb” corroding the Unicode of the character.
In the TTF, the cmap table use the format 12, and I always get 0, from the
function FT_Get_Char_Index(), I think it maybe a bug to deal with the cmap
which is format 12.
When I use FT_New_Memory_Face, the phenomenon is more obvious than FT_New_Face.
I have enabled the built-in debugger, and traced those message, I don't know
how to determine where the leak:
sfnt_init_face: 15916028, 0
tt_face_load_font_dir: 15916028
-- Tables count: 9
-- Format versi
I use the freetype 2.3.1 in my project. When I parse thousands of fonts(of
course they are very small), the memory increase rapidly to more than 230M, and
it’s a continued growth.
My older version use the freetype 2.0.9, it increase very slow, and stop grow
finally.
Does it is a bug or a pr
There are the screenshots which are showed in my PDF Reader.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 24, 2007 10:05 PM
To: [EMAIL PROTECTED]
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] FT_LOAD_FORCE_AUTOHINT and FT_LOAD_FORCE_AUTOHIN
I want to display the font “PMingLiU”, so I have to use the macro
“TT_CONFIG_OPTION_BYTECODE_INTERPRETER” to avoid the font broken.
And some font was uglily, so I open the auto hint.
When I use the macro “FT_LOAD_FORCE_AUTOHINT” or “FT_LOAD_NO_HINTING”, the
macro “TT_CONFIG_OPTION_BYTECODE_
I have met a problem that may be a bug. Some glyphs of this font are bad
displayed under 40 points. And it can be rendered normally under larger than 41
point.
It’s seems like the “[bug #15785] character "7" in verdana regular 10px with
hinting without antialiasing is bad rendered.” By Rogie
When I use the freetype in my program, the font was display very ungainly.
And in ftview, it’s normal.
The flow I use is the same as Ftview.
Just like this:
FTC_Manager_LookupSize()
FT_Load_Glyph()
FT_Get_Glyph()
FT_Glyph_Transform()
FT_Glyph_To_Bitmap()
Do anybody know why I go
When I use the ftview(on the cvs) to display this font, it crashed.
But I can display it correctly by the old version.
Dose it is a bug?
bigpin
FX1.ttf
Description: FX1.ttf
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
htt
Yes, the Adobe Acrobat can handle it, the font has been embedded in the pdf, so
it is not concerned in system.
-Original Message-
From: Werner LEMBERG [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 11:04 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; freetype-devel@nongnu.org
ew.
Thanks for your response.
Best wishes.
Bigpin
1/5/2007
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 05, 2007 1:42 PM
To: DingLi (丁力)
Cc: freetype-devel@nongnu.org
Subject: Re: [ft-devel] the font can not be displayed correct
Hi,
On Fri, 5 Jan
This font file is extracted in the pdf files. And in the pdf the character can
be displayed correctly by the acrobat reader. But the it is not correct in the
ftview.
In this font, there are only three characters “abc”.
Bigpin
1/5/2007
F0.ttf
Description: F0.ttf
__
> The code surface = grNewSurface( 0, &bit ); in function
> FTDemo_Display_New( grPixelMode mode ) which is in file "ftcommon.c" , always
> return 0x00, so it can display the error above.
I'm sorry to disturb you; I have successes to display the font.
The reason is the device is not be defin
> Unfortunately, I don't have mingliu.ttc found in the internet,
Not only mingliu.ttc, but every font I got the same error.
> > could not allocate display surface
> > error = 0x
> Note that you have to use the ft2demos CVS together with the freetype2
> CVS! It doesn't work with FreeTy
Hi,
When I complied the Ftview project ( in the cvs ), I use it like
this:
ftview -e unic -f 23478 75 mingliu.ttc
I always got the error:
could not allocate display surface
error = 0x
I have debug it, and I found it return errors when it run the code
“error = FT_Stream_Ne
Title: Re: [ft-devel] About the display effect.
I have try 2.1.10, but it display the same.Dose
the autohinting module is opened by default in CVS? Or I have to open it by
myself.
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
http
Hi, everyone:
When I develop my software, I got a problem and must
get rid of it quickly.
The problem is that, when I display the font with
freetype 2.0.9 (Figure A in the accessory). And I want
to get the effect that is close to the Acrobat Reader (Figure C in accessory). It
is evidence
Yes, I have been got this problem, perhaps you should use the function
FT_Glyph_Copy to copy the glyph, after you get the glyph.
You can see the reference, and I think you can got the correct answer.
|>FTC_Image_Cache_Lookup(mFTImageCache, &imageDesc, glyph.id, &glyph.image);
_
I have tested it for several ways. There is only one convert way is right, when
I open the "freetype.dsw" and convert it to VS2005 project, it can be converted
right. But when I open "freetype.vcproj", "freetype.sln", "freetype.dsp" and
convert it to VS2005 project, it was converted worry.
I t
I have verified that. The reason isn't the "Precompiled Header File".
It is the macro FT2_BUILD_LIBRARY isn't defined during compilation which is
located in Project - Properties... - Configuration Properties -
C/C++ - Preprocessor - Preprocessor Definitions. You can add the macro
FT2_BUILD_LIBRA
Before I update from the CVS, I can build the freetype2(in CVS)
and 2.1.10(released) with VS2005 and VC++6, but
when I update the Freetype2 from the CVS, and build with VS2005, I got some errors
like this: (I can build it with VC6 successfully.)
1>Compiling...
1>ftstroke.c
1>..\..\..\
|is there a way to cache Glyphs and not read them from file (avoid calling
|FT_Load_Glyph)?
Yes, I think you can use the function FTC_ImageCache_New , FT_New_Memory_Face()
to cache the face , and you can use FT_Get_Char_Index, FTC_ImageCache_Lookup to
look up the face from the cache.
|
|___
Hi, everyone:
When I use FreeType to display some characters which requires
bytecode hinting support which is covered by Apple patent(such as Mingliu.ttc),
I found that there are some white dot in the across of the character’
strokes(zoom in on it enough), and some black dot around them.
Hello, everyone:
When I use Freetype, I found
that some phenomenon that some fragmentized characters.
For example, the mingliu.tcc(True
Collection), is it a bug?
Thanks.
Bigpin
新功能ABC.PNG
Description: 新功能ABC.PNG
___
Freetype-devel m
Thanks everyone.
I had tried the advice by Chia-I Wu, and I think it is available.
I found the file "ftbitmap.c" is not added into the freetype.dsp. So when I
build it, I got the errors:
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs;
use /NODEFAULTLIB:library
Fre
Thanks, I will try it.
But when I build a test example, I got some Link errors:
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs;
use /NODEFAULTLIB:library
FreeTypeD.lib(ftglyph.obj) : error LNK2001: unresolved external symbol
_FT_Bitmap_Copy
FreeTypeD.lib(ftglyph.ob
I use simsun.ttf(宋体),the upper is the image which use FreeType 2.0.9,and the
lower is which I want to get.
My resolution is 1024*768.
Notice: For some reason, it has a little difficult using Freetype2.1.10 in my
project, I must do a lot of change.
-Original Message-
From: Werner LEMBERG
Hello everyone:
In my
project, I found displays and prints character does have slightly thick
somewhat, especially in bold style and output with printer, so I want to carry
on modification to make it a little thin, how can I do?
Thanks, Wishing your business ever successful!
Bi
68 matches
Mail list logo