Code

Programming Languages: C++

License: GNU Library or Lesser General Public License version 2.0 (LGPLv2)

Repositories

browse code, statistics svn co https://ftgl.svn.sourceforge.net/svnroot/ftgl ftgl

Show:

What's happening?

  • Comment: C++ pedantic warnings

    One victim stated that he looked outside the residence <a href="http://www.rcmamakeup.net/Foundations/Macmakeup.html">mac cosmetics wholesale</a> the particular <a href="http://www.rcmamakeup.net/Foundations/Macmakeup.html">mac makeup wholesale</a> glass door and observed a white male subject. He opened the threshold. <a...

    2013-05-22 17:08:05 PDT by nobody

  • Comment: Contour clockwise test is not robust

    headthinker.ttf (attached) has such contours on the '/', '3' and '7' glyphs.

    2013-05-17 23:07:53 PDT by fhickman

  • Contour clockwise test is not robust

    On glyphs with duplicated points in the contour, the test for clockwise/anti-clockwise in FTContour::FTContour may fail, as the code tries to calculate the angle between degenerate points. This can be repaired by using a signed area test for determining the winding, with the added benefit that all the expensive atan2 calls are avoided. Code snippet below: // Deterine the orientation...

    2013-05-17 23:05:37 PDT by fhickman

  • keAlHe <a href="http://gjwnrwgekfna.com/">gjwnrwgekfna</a>,

    keAlHe <a href="http://gjwnrwgekfna.com/">gjwnrwgekfna</a>, [url=http://xuxbmivgsdxz.com/]xuxbmivgsdxz[/url], [link=http://hwfmqkkquegt.com/]hwfmqkkquegt[/link], http://jjzkjpqzcvdx.com/.

    2013-04-14 17:10:51 PDT by nobody

  • C functions for font creation from buffer

    Each of the FTFont-derived classes has two constructors: one that takes a file name and another that takes a buffer. But there are no C functions corresponding to the buffer constructors. The required code is, e.g. for FTTextureFont: In FTGLTextureFont.h: FTGL_EXPORT FTGLfont *ftglCreateTextureFontFromBuffer(const unsigned char *pBufferBytes, size_t bufferSizeInBytes); In...

    2013-03-15 18:49:11 PDT by gordonklaus

  • Correct bbox position of all text render.

    Hello. I want to render font to FBO buffer, and i need a correct width and height (pixel to pixel) of all symbols and all area that's rendering. Till now i use this function. void SizeForString( FTSimpleLayout *simpleLayout, LPWSTR str, int &width, int &height ) { FTBBox size_ = simpleLayout->BBox( str ); width = (int) round( size_.upper.X() - size_.lower.X() ); height =...

    2013-03-11 12:04:18 PDT by https://www.google.com/accounts

  • Visual Studio 2010 Solution(s)

    Here are solution files for FTGL dll library (ftgl.sln) and FTGL static lib with demos (ftgl_demo.sln). There are still some issues: (a) In Debug mode Project unit_tests fails to build. (b) In Release mode Projects CDemo, SimpleDemo and unit_tests fail to build. The first two end up with linker error: "MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16"...

    2013-03-11 11:15:32 PDT by overeater

  • Correct bbox position of all text render.

    Hello. I want to render font to FBO buffer, and i need a correct width and height (pixel to pixel) of all symbols and all area that's rendering. Till now i use this function. void SizeForString( FTSimpleLayout *simpleLayout, LPWSTR str, int &width, int &height ) { FTBBox size_ = simpleLayout->BBox( str ); width = (int) round( size_.upper.X() - size_.lower.X() ); height =...

    2013-03-10 22:40:55 PDT by https://www.google.com/accounts

  • Visual Studio 2010

    Solution files for Microsoft Visual Studio 2010.

    2013-01-24 00:35:09 PST by nobody

  • Comment: crashes on utf-8

    I had the same problem. The crash was due to two places where you can get a NULL pointer: Glyph(charCode) and charMap->GlyphListIndex(charCode) returns 0 on errors, so using its result if 0 is not a good idea... My fix was in FTGlyphContainer.cpp, my patch is @@ -80,13 +80,21 @@ { unsigned int index = charMap->GlyphListIndex(charCode); + // NOTE GlyphListIndex() returns 0...

    2013-01-08 12:48:29 PST by https://www.google.com/accounts

Our Numbers