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]
walzer@cocos2d-x.org 2011-02-10 22:25 . Updated about 10 years ago

Maybe we can use http://www.freetype.org/
Or should we use the platform sdk api to do this?

walzer@cocos2d-x.org 2011-03-05 00:11
  • Target version set to 9
walzer@cocos2d-x.org 2011-06-06 20:21

FreeType is too low-level for our usage.
Maybe we should find a new way to do this.

walzer@cocos2d-x.org 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
walzer@cocos2d-x.org 2011-07-27 20:17
  • Assignee set to zhangxm

Discussed here http://www.cocos2d-x.org/boards/6/topics/1264
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
walzer@cocos2d-x.org 2011-08-05 03:27
  • Status changed from Closed to In Progress

win32 still have problem, reported by Isaac Ashdown at here http://www.cocos2d-x.org/boards/6/topics/1264?r=2841\#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.

walzer@cocos2d-x.org 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
walzer@cocos2d-x.org 2011-08-12 18:34
  • Status changed from Closed to Accepted

Reopen. Please read the post of Isaac in this thread http://www.cocos2d-x.org/boards/6/topics/1264?r=3015\#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.
http://www.cocos2d-x.org/boards/6/topics/1264?r=3015\#message-3015
We should check the issue before openning it.

walzer@cocos2d-x.org 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.

walzer@cocos2d-x.org 2011-08-15 00:34
  • Status changed from Resolved to Closed
walzer@cocos2d-x.org 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

Pokerstar88.com 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

Pokerstar88.com Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Olb365.com Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya

Atom PDF

Status:Closed
Start date:2011-02-10
Priority:Normal
Due date:
Assignee:liswei
% Done:

100%

Category:-
Target version:-