Huabing.Xu
06b612be01
refine rendering of canvas for scaleX and scaleY
2016-07-21 11:44:38 +08:00
pandamicro
321e9d13ca
Add culling for Sprite & Label Canvas render command, fix issues
2016-07-15 15:50:55 +08:00
pandamicro
13c66797ab
Use renderCmd _needDraw for culling in Scale9Sprite & Label
2016-07-15 13:50:43 +08:00
pandamicro
4ef771c043
Fix remained issues in new renderer
2016-07-13 14:04:25 +08:00
pandamicro
b4e6234010
Issue fixes
2016-07-12 16:33:52 +08:00
pandamicro
07e592dced
Upgrade Scale9Sprite renderer & set index buffer dynamically
2016-07-12 16:33:52 +08:00
pandamicro
c532c09eff
Merge Cocos2d-html5 v3.12 webgl renderer
2016-07-12 16:33:51 +08:00
pandamicro
7c170b69d5
Merge pull request #866 from dabingnn/optimise_canvas_rendering
...
Optimise canvas rendering
2016-07-08 11:44:39 +08:00
zilongshanren
09c80402ba
fix some bugs of shrink label
...
it also improve the perfomance issue of shrinked label
calculate font size divide by 2
add font height cache
keep the label lineheight the same as before
2016-07-06 17:39:21 +08:00
Huabing.Xu
26e8d7fcdb
roll back scaleX scaleY
2016-07-05 15:41:08 +08:00
zilongshanren
4df512cc99
minor improve line height of shrinked text
2016-07-03 10:12:37 +08:00
zilongshanren
570b41cb69
fix Chinese label shrink effect
2016-07-02 14:23:29 +08:00
zilongshanren
5ad4e6fca9
fix web system font shrink wrap effect
...
fix label font size
add measure text height
make a skeleton of label ttf shrink algorithm
add debounce method for node string
finish no \n wrap
add debounced font size to label
finish web ttf shrink
2016-07-01 18:13:26 +08:00
Huabing.Xu
ded71d1520
dirty region works on canvas
2016-07-01 16:10:24 +08:00
Huabing.Xu
581294d09b
move scaleX and scaleY to transform
2016-06-30 16:11:29 +08:00
zilongshanren
14b9d3a8db
fix infinit recursive function call
2016-06-17 16:44:19 +08:00
zilongshanren
3b9d875014
fix bmfont and ttf shrink in editor
...
fix bmfont vertical clamp precision
fix a bunch of label issues
fix bmfont inital font metrics
2016-06-17 16:32:02 +08:00
zilongshanren
46e2edc5ac
fix invalid letter
2016-06-16 12:05:52 +08:00
zilongshanren
36759f0032
fix bmfont long word wrap
2016-06-16 11:23:04 +08:00
Wang Nan
d33a81fac5
Merge pull request #778 from zilongshanren/fix-bmfont-resize-height
...
fix bmfont label resize height
2016-06-08 13:44:54 +08:00
zilongshanren
f4582d9515
fix bmfont label resize height
2016-06-08 12:03:10 +08:00
knoxHuang
28a06758b9
fix Label string is null for webGL waring
2016-06-08 11:47:44 +08:00
zilongshanren
8c2e92b009
add bmfont layout
2016-06-06 16:34:22 +08:00
Huabing.Xu
ab26de3c4d
fix label bugs 1. outline sharp edge 2. margin for outline
2016-06-02 09:57:20 +08:00
Huabing.Xu
93acfa93a5
use round for line join to avoid sharp edge for outline effect
2016-06-01 14:39:33 +08:00
ViusualSJ
306a61707a
remove useSystemFont from CCGLabel
2016-05-20 15:28:51 +08:00
zhangbin
bd83852ec5
Record the original size in the BitmapFont Asset object.
2016-05-20 11:35:00 +08:00
Wang Nan
c51e89f49e
Merge pull request #684 from zilongshanren/fix-label-webgl-size-issue
...
fix label not updating content size
2016-05-18 18:24:52 +08:00
zhangbin
8a85398ab1
Rename the property & the method.
2016-05-18 16:21:30 +08:00
zhangbin
215cd99831
Add property in Label component for the origin size of BMFont.
2016-05-18 15:37:41 +08:00
Wang Nan
f680c2c591
Merge pull request #685 from dabingnn/label_add_outline
...
adjust outline effect
2016-05-17 18:28:42 +08:00
zilongshanren
1f4770d32a
simplify label content update size logic
2016-05-17 18:28:41 +08:00
Huabing.Xu
e2c12e672c
multiply width by 2
2016-05-17 18:13:44 +08:00
Huabing.Xu
714a9816e9
adjust outline effect
2016-05-17 17:53:27 +08:00
zilongshanren
34ae8d3ccf
fix label not updating content size
2016-05-17 17:15:35 +08:00
Wang Nan
edf92d24a5
Merge pull request #679 from dabingnn/label_add_outline
...
add width for stroke
2016-05-17 14:02:10 +08:00
Huabing.Xu
a9d5ea5053
add width for stroke
2016-05-17 12:13:30 +08:00
Wang Nan
df62232316
Merge pull request #670 from dabingnn/label_add_outline
...
Label add outline
2016-05-17 09:23:50 +08:00
Wang Nan
5d9ce5d57e
Merge pull request #669 from cocos-creator/v1.0
...
merge V1.0
2016-05-13 13:45:01 +08:00
Huabing.Xu
101e710683
implement outline effect
2016-05-13 10:32:20 +08:00
Huabing.Xu
c8a56b13f7
add outline effect
2016-05-12 18:38:34 +08:00
Huabing.Xu
af55d43f89
add outline feature
2016-05-12 15:10:00 +08:00
knoxHuang
b0122605fb
fix Inherits from SGNode nodes can not overload a method in BaseNodePropertyDefine.js
2016-05-12 11:06:36 +08:00
Jare Guo
3f1b682d19
Merge commit '0d438a748a5aae594e29344fffe4ea040e235c81'
...
# Conflicts:
# cocos2d/core/components/CCRendererInSG.js
# cocos2d/core/load-pipeline/asset-table.js
# cocos2d/tilemap/CCTiledMap.js
# jsb/jsb-editbox.js
2016-04-27 10:01:06 +08:00
knoxHuang
451561bfd7
Bitmap Font resources from Raw Asset to Asset ( #2661 )
2016-04-18 18:29:20 +08:00
Jare Guo
f2fc319677
Merge pull request #582 from zilongshanren/fix-label-cascaded-opacity
...
fix cascaded opacity issue of label
2016-04-18 14:53:42 +08:00
zilongshanren
aaea7ce6df
rename locFlag to this._dirtyFlag
2016-04-12 10:19:01 +08:00
zilongshanren
ccc3a2abfa
fix label positioning
2016-04-12 09:20:37 +08:00
zilongshanren
296f07f30e
fix cascaded opacity issue of label
2016-04-11 17:13:34 +08:00
zilongshanren
f7d44afd73
fix system font lineHeight calculate issue
2016-03-22 18:25:09 +08:00