Re: [ft] Freetype2 returns different descender value after upgrading 2.6.x to 2.8.x

2018-04-09 Thread Werner LEMBERG
> First, winset is kind of UI element like button. In this case, to > display text, we use text winset. Developer can set what text will > be shown and its height, width, font size, etc. Do you probably mean `widget'? For example this one: http://doc.qt.io/qt-5/qtwidgets-index.html I've

Re: [ft] Freetype2 returns different descender value after upgrading 2.6.x to 2.8.x

2018-04-09 Thread Werner LEMBERG
[Please write your e-mail as plain text, not HTML.] > We use sum of ascender and descender to determine glyph size is over > winset size or not. If it is over winset size, we make inner text > to "...". I don't understand this. Please provide an example together with (small!) images that

Re: [ft] Freetype2 returns different descender value after upgrading 2.6.x to 2.8.x

2018-04-06 Thread Werner LEMBERG
> After updating, freetype2 returns different descender value when > using same font. > > [...], in 2.6.x, we got 24 as ascender value and -4 as descender > value. > > But in 2.8.x, we got 24 as ascender value and -5 as descender value > even if using same font file. > > [...] > > Is it kind of

[ft] Freetype2 returns different descender value after upgrading 2.6.x to 2.8.x

2018-04-05 Thread 선민호
Hello freetype! I'm minho sun who is working at Samsung Research. My main work is making text winset work in our UI framework named DALi. We use freetype to get font information and freetype2 worked perfectly since we updated it 2.6.x to 2.8.x. After updating, freetype2

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-12-11 Thread Nikolaus Neusser
I have finally found the solution, so i just wanted to share it with you. I had to recompile qmake, since i haven't enabled pkg-config support. After enabling it and recompiling qmake, qmake found freetype2 without any problems. Thanks a lot for your help. Nik Am 06.11.2016 um 12:53 schrieb

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-20 Thread suzuki toshiya
Dear Nik, Because I don't have same environment with you, I don't know how qmake will work with such options, so I have no strong recommendations to try. If I lost in the way with qmake, rather than trying some googled result one after another, I will try to find some options to make qmake work

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-19 Thread Nikolaus Neusser
Hello, I've been away for a few days but I am still stuck with this problem The following lines in the qt project config file tell that qmake does use pkg-config to look up freetype2. CONFIG += link_pkgconfig PKGCONFIG += freetype2 Any ideas what else I could try or check? Nik -- Diese

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Oh, considering that pkg-config returns the module number (the instead of abort), pkg-config works correctly. So qmake might not use pkg-config to detect freetype2. Regards, mpsuzuki Nikolaus Neusser wrote: > Dear mpsuzuki, > > - i updated my host through apg-get update and apt-get upgrade >

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
Dear mpsuzuki, - i updated my host through apg-get update and apt-get upgrade - running: pkg-config --version yields: 0.28 - But running "pkg-config --modversion freetype" still outputs: Unknown keyword 'Libs.private' in

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
According to the man page , you have to set the PKG_CONFIG_SYSROOT_DIR environment variable to point to where the includes and libs for the target system are kept, in order to do cross-compilation. Yes, i did that, or at least i tried. I set other

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Dear Nik, > line>Libs.private: -lz -lpng12 -lz -lm > Unknown keyword 'Libs.private' in > '/home/niki/opt_qt_for_rpi/qt5.6.1-1/sysroot/usr/lib/arm-linux-gnueabihf/pkgconfig/freetype2.pc' > line>Cflags: -I${includedir} > Path position of 'freetype2' is 2 > Adding 'freetype2' to list of known

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread suzuki toshiya
Dear Lawrence, Thank you for good pointing out. Now I'm afraid that there is a possibility that setting both of PKG_CONFIG_SYSROOT_DIR & PKG_CONFIG_LIBDIR made pkg-config search wrong directory. Something like this. PKG_CONFIG_SYSROOT_DIR=/sysroot/cross-blahblahblah -> pkg-config will search

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
ok, i did the following: - export all variables like before including setting PKG_CONFIG_DEBUG_SPEW - i ran on the host: pkg-config --modversion freetype2 -> Output, see below: Note: An interesting thing i just noticed is: When i run qmake (having set PKG_CONFIG_DEBUG_SPEW) i don't get any

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Lawrence D'Oliveiro
On Sun, 6 Nov 2016 07:22:35 +0100, Nikolaus Neusser wrote: > All i know is, that the developer of the plugin told > me, that freetype2 is found through pkg-config. According to the man page , you have to set the PKG_CONFIG_SYSROOT_DIR environment variable

Re: [ft] Freetype2-dev package not found when crosscompiling

2016-11-06 Thread Nikolaus Neusser
Have you confirmed that it came from freetype2-dev for the target, not from that for the host? If you've confirmed, how did you do that? Good point, no i didn't. Though, i wouldn't know how to confirm that. Have you confirmed that it was caused by a failure from pkg-config query? There is no

Re: [ft] Freetype2 and TimesNewRoman?

2015-10-22 Thread Lawrence D'Oliveiro
On Thu, 22 Oct 2015 11:22:56 +0930, Domonic Tom wrote: > HiDoes Freetype2 support TimesNewRoman Font? When you’re not sure if your code works, always worth comparing against code that does work. ___ Freetype mailing list Freetype@nongnu.org

Re: [ft] Freetype2 and TimesNewRoman?

2015-10-21 Thread Werner LEMBERG
> Does Freetype2 support TimesNewRoman Font? Certainly. > I believe this is 'Serif'? TimesNewRoman is indeed a serif font. However, it depends on your system's font setup whether, say, the HTML fallback font `serif' maps to TimesNewRoman. > Unfortunately when searching for Glyph information

[ft] Freetype2 and TimesNewRoman?

2015-10-21 Thread Domonic Tom
HiDoes Freetype2 support TimesNewRoman Font? I believe this is 'Serif'? The reason I ask is that I'm using freetype2 as a dependency for another library which is parsing a document containing TimesNewRoman font. Unfortunately when searching for Glyph information using the FT_Get_Char_Index

Re: [ft] Freetype2 compilation error

2013-03-20 Thread suzuki toshiya
-u.ac.jp To: HCL Infosystems Ltd hpcssupp...@tropmet.res.in Cc: Werner LEMBERG w...@gnu.org, freetype freetype@nongnu.org Sent: Tuesday, March 19, 2013 6:38:29 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, Thank you very much for posting the result of testing tarball. I think

Re: [ft] Freetype2 compilation error

2013-03-20 Thread HCL Infosystems Ltd
#include limits.h #if !(0x 64) (0x1 64) # define CPP_MAX_BITSHIFT 64 #elif !(0x7FFF 63) (0x 63) # define CPP_MAX_BITSHIFT 63 #elif !(0x 48) (0x1 48) # define CPP_MAX_BITSHIFT 48 #elif !(0x7FFF

Re: [ft] Freetype2 compilation error

2013-03-20 Thread suzuki toshiya
toshiya mpsuz...@hiroshima-u.ac.jp To: HCL Infosystems Ltd hpcssupp...@tropmet.res.in Cc: Werner LEMBERG w...@gnu.org, freetype freetype@nongnu.org Sent: Wednesday, March 20, 2013 2:38:05 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, I attached a small C-like source for /bin/cpp

Re: [ft] Freetype2 compilation error

2013-03-20 Thread HCL Infosystems Ltd
#include limits.h #if !(0xL 64) (0x1L 64) # define CPP_MAX_BITSHIFT 64 #elif !(0x7FFFL 63) (0xL 63) # define CPP_MAX_BITSHIFT 63 #elif !(0xL 48) (0x1L 48) # define CPP_MAX_BITSHIFT 48 #elif

Re: [ft] Freetype2 compilation error

2013-03-20 Thread suzuki toshiya
, freetype freetype@nongnu.org Sent: Wednesday, March 20, 2013 3:42:08 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, Thanks! It seems that xlc's cpp cannot handle bitshift for 64-bit constants, at least, if the constants lack the suffix for long (or unsigned long) integer. I

[ft] Freetype2 compilation error

2013-03-19 Thread HCL Infosystems Ltd
Dear Team, I am getting the below error in red while compiling freetype-2.4.11 on AIX 5.3. ##QUOTE## FreeType build system -- automatic system detection The following settings are used:

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
Hi, Sorry for your inconvenience. Your quotation seems to be the messages during the configuration, not during compilation. Do you mean that the irregular warning like checking whether cpp computation of bit length in ftconfig.in works... ./ft2build.h, line 1: 1506-229 (W) File is empty.

Re: [ft] Freetype2 compilation error

2013-03-19 Thread Werner LEMBERG
I am getting the below error in red while compiling freetype-2.4.11 on AIX 5.3. [...] checking whether cpp computation of bit length in ftconfig.in works... ./ft2build.h, line 1: 1506-229 (W) File is empty. ftoption.h, line 1: 1506-229 (W) File is empty. ftstdlib.h, line 1:

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
and make install. Regards Amit - Original Message - From: suzuki toshiya mpsuz...@hiroshima-u.ac.jp To: HCL Infosystems Ltd hpcssupp...@tropmet.res.in Cc: freetype@nongnu.org Sent: Tuesday, March 19, 2013 12:23:33 PM Subject: Re: [ft] Freetype2 compilation error Hi, Sorry

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
Cc: freetype@nongnu.org Sent: Tuesday, March 19, 2013 12:23:33 PM Subject: Re: [ft] Freetype2 compilation error Hi, Sorry for your inconvenience. Your quotation seems to be the messages during the configuration, not during compilation. Do you mean that the irregular warning like checking

Re: [ft] Freetype2 compilation error

2013-03-19 Thread HCL Infosystems Ltd
: [ft] Freetype2 compilation error Just I've uploaded testing tarball. http://gyvern.ipc.hiroshima-u.ac.jp/~mpsuzuki/freetype-2.4.11_fix-for-xlc-cpp_20130319a.tar.xz Please try and see how warning on ftconfig.in checking will be changed, or not. Regards, mpsuzuki P.S. The difference from genuine

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
: suzuki toshiya mpsuz...@hiroshima-u.ac.jp To: freetype freetype@nongnu.org Cc: HCL Infosystems Ltd hpcssupp...@tropmet.res.in, Werner LEMBERG w...@gnu.org Sent: Tuesday, March 19, 2013 1:19:31 PM Subject: Re: [ft] Freetype2 compilation error Just I've uploaded testing tarball. http

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
Infosystems Ltd hpcssupp...@tropmet.res.in, Werner LEMBERG w...@gnu.org Sent: Tuesday, March 19, 2013 2:40:34 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, Thanks, hmm, ftconfig.in does not work well on AIX+XLC. configure:4216: checking whether cpp computation of bit length

Re: [ft] Freetype2 compilation error

2013-03-19 Thread HCL Infosystems Ltd
To: HCL Infosystems Ltd hpcssupp...@tropmet.res.in Cc: Werner LEMBERG w...@gnu.org, freetype freetype@nongnu.org Sent: Tuesday, March 19, 2013 3:53:47 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, Thank you very much for kind accept. I uploaded yet another testing tarball, http

Re: [ft] Freetype2 compilation error

2013-03-19 Thread suzuki toshiya
...@gnu.org, freetype freetype@nongnu.org Sent: Tuesday, March 19, 2013 3:53:47 PM Subject: Re: [ft] Freetype2 compilation error Dear Amit, Thank you very much for kind accept. I uploaded yet another testing tarball, http://gyvern.ipc.hiroshima-u.ac.jp/~mpsuzuki/freetype-2.4.11_fix-for-xlc

Re: [ft] FreeType2

2012-04-04 Thread suzuki toshiya
Hi, The candidates I hit upon are following. I think FontForge or FontUtils are most recommended if the program by scripting language can be a solution, and you can ignore the work for CFF OpenType. If you are looking for a library to link with C/C++/Java program, the solution would be sfntly or

Re: [ft] FreeType2

2012-04-03 Thread Werner LEMBERG
I would like to know, if I can use FreeType2 to load a ttf Font, delete some charakters from it, and save it as a new ttf Font ? Not really. FreeType is a library to render fonts, not to manipulate font files. I recommend ttx or FontForge. Werner

Re: [ft] FreeType2

2012-04-03 Thread suzuki toshiya
Hi, Do you want to make a subsetted font from a TTF? I remember recently Google Android developers produced something useful for such purpose... Regards, mpsuzuki ali_b wrote: Hi, I would like to know, if I can use FreeType2 to load a ttf Font, delete some charakters from it, and save it as

Re: [ft] FreeType2

2012-04-03 Thread Peter Grandi
I would like to know, if I can use FreeType2 to load a ttf Font, delete some charakters from it, and save it as a new ttf Font ? You probably can do that with Freetype2, in a very complicated way. But perhaps you haven't read the documentation that says that Freetype2 is mostly a rendering

hashing macros in ftcache.h (Re: [ft] freetype2 and Win64)

2010-10-11 Thread mpsuzuki
Dear David and Werner, The hashing macros in ftcache.h should be kept in future release? I propose to enclose them by the conditional FT_CONFIG_OPTION_OLD_INTERNALS. Please give me your comments on following observation about the macros. -- The public header file include/freetype/ftcache.h has

Re: [ft] freetype2 and Win64

2010-10-08 Thread NightStrike
Ping? On Thu, Jan 28, 2010 at 4:22 PM, NightStrike nightstr...@gmail.com wrote: On Sat, Sep 12, 2009 at 11:31 AM,  mpsuz...@hiroshima-u.ac.jp wrote: Hi, On Thu, 10 Sep 2009 16:32:55 +0900 mpsuz...@hiroshima-u.ac.jp wrote: On Mon, 7 Sep 2009 13:02:28 +0900 mpsuz...@hiroshima-u.ac.jp wrote:

Re: [ft] freetype2 and Win64

2010-10-08 Thread mpsuzuki
I'm quite sorry for my long long silence. A) bdflib.c commit 704f4d75cdfae502cc0b70e3413c26ad996b1ac2 Author: suzuki toshiya mpsuz...@hiroshima-u.ac.jp Date: Sun Sep 13 00:50:14 2009 +0900 [BDF] Modify hash API to take size_t value instead of void *. B) t1decode.c cffgload.c commit

Re: [ft] freetype2 and Win64

2010-01-28 Thread NightStrike
On Sat, Sep 12, 2009 at 11:31 AM, mpsuz...@hiroshima-u.ac.jp wrote: Hi, On Thu, 10 Sep 2009 16:32:55 +0900 mpsuz...@hiroshima-u.ac.jp wrote: On Mon, 7 Sep 2009 13:02:28 +0900 mpsuz...@hiroshima-u.ac.jp wrote: There are 3 groups of the problem. A) bdflib.c B) t1decode.c cffgload.c C)

Re: [ft] freetype2 and Win64

2009-09-12 Thread mpsuzuki
Hi, On Thu, 10 Sep 2009 16:32:55 +0900 mpsuz...@hiroshima-u.ac.jp wrote: On Mon, 7 Sep 2009 13:02:28 +0900 mpsuz...@hiroshima-u.ac.jp wrote: There are 3 groups of the problem. A) bdflib.c B) t1decode.c cffgload.c C) ftcbasic.c ftccmap.c Just I've fixed B) in git. Soon A) will be fixed.

Re: [ft] freetype2 and Win64

2009-09-10 Thread mpsuzuki
Hi, On Mon, 7 Sep 2009 13:02:28 +0900 mpsuz...@hiroshima-u.ac.jp wrote: There are 3 groups of the problem. A) bdflib.c B) t1decode.c cffgload.c C) ftcbasic.c ftccmap.c Just I've fixed B) in git. Soon A) will be fixed. Regards, mpsuzuki ___

Re: [ft] freetype2 and Win64

2009-09-06 Thread mpsuzuki
Hi, Just I've built Win64 development tools, the problems you reported are completely reproduced. However, I don't have the extra licenses/machines to test Win64 binaries. I will have to ask for your help to finish this issue... On Wed, 2 Sep 2009 18:27:22 -0400 NightStrike nightstr...@gmail.com

[ft] freetype2 and Win64

2009-09-02 Thread NightStrike
While compiling freetype2 for Win64 to meet a VLC dependency, I encounter these warnings: configure: WARNING: unrecognized options: --enable-msw, --disable-dependency-tracking configure: WARNING: unrecognized options: --enable-msw, --disable-dependency-tracking In file included from

Re: [ft] freetype2 and Win64

2009-09-02 Thread mpsuzuki
Hi, Thank you for poining out the warning on Win64 platform and the analysis. I want to take a look, could you give me the information about your development environment to reproduce this issue? The messages you see look like by gcc. I've ever worked for a few LP64 systems of Unix and Mac OS X,

Re: [ft] freetype2 and Win64

2009-09-02 Thread NightStrike
I'm using a linux64 to win64 cross compiler available here: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/mingw-w64-bin_x86_64-linux_20090902.tar.bz2/download From this page: https://sourceforge.net/projects/mingw-w64/files/ This is the

Re: [ft] freetype2 and Win64

2009-09-02 Thread NightStrike
Yes, unfortunately, our build slaves for that platform are down. The machine kept over heating :) You may find it much easier to use this makefile: http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/experimental/buildsystem/makebuildroot.mk?view=markup execute it like this: make -f

[ft] freetype2 support multi-thread?

2009-04-22 Thread shizimin
Dear Freetyp2, we are testing Freetype2 in embedded systems, I don't know whether freetype2 support multi-thread? we must add lock or unlock for multi-thread protect of freetype2, but this way cause our system become slow, Have better way for multi-thread protect? thank you!

[ft] Freetype2 functions

2008-10-20 Thread Sivaprasad CG
Dear All, Is there any function in freetype2, which list out all the unicodes in the given font. Suppose I am opening timesnewroman.ttf, can i get all the unicode values that are supported by this font file using the Freetype2 functions. Is there any function in freetype2, in which i can

Re: [ft] Freetype2 functions

2008-10-20 Thread Werner LEMBERG
Suppose I am opening timesnewroman.ttf, can i get all the unicode values that are supported by this font file using the Freetype2 functions. Check the documentation of FT_First_Char and FT_Get_Next_Char Is there any function in freetype2, in which i can query a particular unicode value in a

[ft-devel] Re: [ft] [Freetype2] About Unpatent-Hinting

2007-01-22 Thread David Turner
First, I wonder if it is true that I can avoid the patent matter by using these define-options; #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER #define TT_CONFIG_OPTION_UNPATENTED_HINTING in src.ftoption.h. Yes, if you do that, you will compile a version of the bytecode

[ft] [Freetype2] About Unpatent-Hinting

2007-01-19 Thread 우상봉
Hi. I'm developing an application using Byte Code Interpreter in FreeType 2 . I've found about Apple Patent in Byte code Interpreter in Free type2 and have read how I can avoid from the Apple patent issue. There are some questions came out while I was reading about the

[FT]FreeType2 compile problem with ARM Developer Suite(ADS) v1.2

2006-05-17 Thread 嘉哲
Hi, Does anyone know how to compile FreeType2 with ARM Developer Suite v1.2? This is what I done now and followed the standard procedure by the file install.any. 1: Disable PRE-COMPILED HEADERS 2: Add ‘freetype/include’ to my Access Paths of DebugRel Setting and set it to System

Re: [ft] FreeType2 configuration

2005-09-02 Thread Cyphre
I need to use only TrueType fonts. I have checked the document you described...so doest i mean I should only compile the base components + TrueType driver? Yes. Thanks, I'll give it a try. One more question: Do you know the approximate binary size of the library (for static

Re: [ft] FreeType2 configuration

2005-09-02 Thread Werner LEMBERG
One more question: Do you know the approximate binary size of the library (for static compilation/linking) for my case of usage? (I'd like to know this just for comparison of my result) I've no idea, sorry. Werner ___ Freetype mailing list

Re: [ft] Freetype2 - postscript font name

2005-05-04 Thread mpsuzuki
Hi I'm glad to hear that my comment is something usuful for you. On Tue, 3 May 2005 16:58:13 +0300 Mika Kuuskankare [EMAIL PROTECTED] wrote: Great, I got it working, however, it sometimes cannot determine the PS name even if the font is of type ttf... For example, the Font Book of OS X displays