Projects > cpp > Issues > Feature #347

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Support custom TTF fonts

Feature #347 [Closed] 2011-02-10 22:25 . Updated almost 9 years ago

Maybe we can use
Or should we use the platform sdk api to do this? 2011-03-05 00:11
  • Target version set to 9 2011-06-06 20:21

FreeType is too low-level for our usage.
Maybe we should find a new way to do this. 2011-07-13 19:15
  • Subject changed from consider using freetype lib to replace skia, maybe it's our FontLabel to Support custom TTF fonts
  • Category changed from 2 to 5
  • Target version changed from 9 to cocos2d-1.0.1-x-0.9.2 2011-07-27 20:17
  • Assignee set to zhangxm

Discussed here
We have a chance to try if custom ttf font can be supported via SDKs, at least, iOS & android.

zhangxm 2011-07-28 01:29
  • Status changed from New to In Progress
zhangxm 2011-08-01 18:41
  • Assignee changed from zhangxm to liswei

iOS & Android now support it.
Please implement it on Wophone & win32.

liswei 2011-08-03 21:01
  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:d0959733250d346c854f7724b3433baa0a99bd0d.

zhangxm 2011-08-04 21:04
  • Status changed from Resolved to Closed 2011-08-05 03:27
  • Status changed from Closed to In Progress

win32 still have problem, reported by Isaac Ashdown at here\#message-2841

zhangxm 2011-08-07 21:24
  • Status changed from In Progress to Resolved

Applied in changeset commit:39a12ca2652350a8a4fdb0484408192e69ff48ec.

liswei 2011-08-07 21:24

Applied in changeset commit:ac933e0a9cf6853bb09a8aa4f87dbd9e71033ded. 2011-08-08 18:18
  • Target version changed from cocos2d-1.0.1-x-0.9.2 to cocos2d-1.0.1-x-0.9.1
zhangxm 2011-08-09 01:08
  • Status changed from Resolved to Closed 2011-08-12 18:34
  • Status changed from Closed to Accepted

Reopen. Please read the post of Isaac in this thread\#message-3015

I got the edge version yesterday and everythign was working fine. The difference is, though, that the Win32 version requires you to specify the actual font name, whereas the android version has you specify the .ttf file.

We must keep the consistency on different platforms

zhangxm 2011-08-13 05:38
  • Status changed from Accepted to Resolved

Isaac didn’t update his java file.\#message-3015
We should check the issue before openning it. 2011-08-13 07:54

The man haven’t update his java file is Milda Genius, not Issaac.
I will check the win32 port again. 2011-08-15 00:34
  • Status changed from Resolved to Closed 2012-05-25 08:19
  • Project changed from cocos2d-x to cpp
  • Category deleted (5)
  • Target version deleted (cocos2d-1.0.1-x-0.9.1)
agenindonesia 2014-11-25 20:31 Agen Texas Poker Dan Domino Online Indonesia Terpercaya
OK, I’ve updated the announcement and added a link to zipball on google code. Thank you for reminding me.
Agen Indonesia | Agen Bola | Poker Indonesia

ionliga 2014-11-28 14:37

The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya

Atom PDF

Start date:2011-02-10
Due date:
% Done:


Target version:-