Possible SpriteText bug report

Possible SpriteText bug report

Postby NPS » Mon Jul 22, 2013 7:57 am

When "Character Spacing" is < 1.0 and "Text" is very short (about 2 - 5 characters) then the actual character spacing is less than it should be. Please see the attached image. "Character Spacing" is set to 0.65. With only 2 characters they're practically on top of each other, which is bad. With 3 characters it gets a little better but still not correct. The correct spacing is, I assume, when there are many characters.

I don't know if that was intentional but I'm sure that's not the behaviour I expected or wanted. Please let me know if that was intentional and if so if you can fix it.

Edit: The same problem occurs with "Character Spacing" > 1.0 (with few characters the spacing is too big). Also sometimes while changing "Text" it throws: "!IsFinite(outDistanceForSort) UnityEditor.DockArea:OnGUI()" or "!IsFinite(outDistanceAlongView)" if that helps in any way.
Attachments
bla.png
bla.png (7.53 KiB) Viewed 2939 times
NPS
 
Posts: 16
Joined: Wed Apr 10, 2013 11:17 am

Re: Possible SpriteText bug report

Postby Brady » Mon Jul 22, 2013 9:16 pm

Is this with version 1.0798? If not, please try that one as it has new character spacing code.
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

Re: Possible SpriteText bug report

Postby NPS » Mon Jul 22, 2013 11:48 pm

I don't know - how do I find out the exact version?
NPS
 
Posts: 16
Joined: Wed Apr 10, 2013 11:17 am

Re: Possible SpriteText bug report

Postby NPS » Tue Jul 23, 2013 5:04 pm

Also - I would like to know which script (or scripts) contains said character spacing code - I ask because I've made multiple changes to original EZ GUI files (to make it work with Flash) and I would like to change only the character spacing script instead of whole EZ GUI.
NPS
 
Posts: 16
Joined: Wed Apr 10, 2013 11:17 am

Re: Possible SpriteText bug report

Postby Brady » Wed Jul 24, 2013 6:15 pm

You can check the version by going to Tools->A&B Software->About EZ GUI

The code is in SpriteText.cs and SpriteFont.cs, however, the latest version of EZ GUI should work with Flash. But if you have custom changes you need to keep, those are the files where you'll find the new code.
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

Re: Possible SpriteText bug report

Postby NPS » Wed Jul 24, 2013 11:44 pm

The new character spacing code works just fine! Also text alignment (CENTER) works correctly now. Thx!

(Gonna check if the latest version works with flash, my colleague from work said he had to change a lot in the previous version to make it work under flash.)
NPS
 
Posts: 16
Joined: Wed Apr 10, 2013 11:17 am

Re: Possible SpriteText bug report

Postby Brady » Sat Aug 03, 2013 6:54 pm

If not, please PM me about any changes you've found to be necessary. Thanks!
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

Re: Possible SpriteText bug report

Postby John B » Sat Aug 10, 2013 8:13 pm

NPS wrote:The new character spacing code works just fine! Also text alignment (CENTER) works correctly now. Thx!

I just noticed that with EZGUI 1.0798 the text spacing is not quite right. With a narrow font (Helvectica Neue) some letters overlap by about a pixel or so when spacing is 1.0. For example, lowercase U's get cut off on the right side. If I set spacing to 1.01, the text looks good.

I don't know if this is a new or old problem, or if it really is. Adjusting the spacing fixes it quite easily.
John B
 
Posts: 249
Joined: Sat Jul 10, 2010 6:19 pm

Re: Possible SpriteText bug report

Postby Brady » Tue Aug 13, 2013 6:40 pm

Thanks for the feedback, John B. It's possible this has something to do with how the font generator program you're using spits out the font definition. I'm not entirely sure as other fonts I've tested with look okay. But as finicky as the text layout logic can be, if there's a simple adjustment that yields consistent behavior, I'm inclined to let it be for the moment.
Brady
 
Posts: 5361
Joined: Tue Jul 06, 2010 11:33 pm

RE: В Братске прошёл круглый стол о нынешнем положении дел с

Postby LIZHIMIN » Mon Mar 21, 2016 2:43 am

Kate Spade Australia
michael kors canada
kate spade uk
Nike Kobe 9
ralph lauren polo
10 dollars
abercrombie india
abercrombie fitch france
abercrombie fitch nederland
abssice 360
adidas super star
air jordan nike
air jordan retro
air jordan shoes
asics gel kayano
asics running shoes
asics shoe
asics shoes
asics shop
paul smith uk
balenciag bag
basketball shoes
birkin bag hermes
black uggs
burberry
burberry
burberry australia
burberry australia
burberry backpack
Burberry bags
burberry belts
burberry britain
burberry handbag
burberry london
burberry online
Burberry online
burberry bags on sale
burberry outlet
burberry outlet uk
Burberry Outlet
burberry outlet
burberry outlet online
burberry outlet online
Burberry outlet online
burberry uk
burberry wallet
canada goose outlet
chanel australia
chanel bags prices
chanel flap bag
Chanel Outlet
chanel tote
change points uk
cheap gucci belts
louis vuitton belts
cheap louis vuitton purses
cheap michael kors handbags
cheap michael kors purses
Cheap Ray Ban
christian louboutin online
christian louboutin shoes
christian louboutin shoes
christian louboutin shoes
christian louboutin shop
clk benz
coach australia
coach australia
coach bags
coach bags on sale
coach carter
coach crossbody bags
coach handbags
coach online
coach outlet
coach outlet
Coach outlet online
coach outlet store
coach purses
coach purses on sale
coach shoes
coach sunglasses
coach usa
abercrombie milano
fendi outlet
France Favourites
free nike
free shoes
gucci backpack
gucci bags
gucci bags
gucci belt
gucci clutch
gucci diaper bag
gucci handbags
gucci handbags
gucci luggage
gucci online
gucci online
Gucci Outlet
gucci shoes
gucci sunglasses
gucci sunglasses for women
hermes bag
hermes belt
hermes birkin uk
hermes birkin price
hermes handbags
hermes outlet
Hermes Outlet
hermes outlet
hermes purses
hermes uk
hugo boss
hugo boss uk
hugo boss uk
Nike Hyperdunk 2015
jimmy choo australia
jordan retro
jordan retro shoes
kate spade uk
Kate Spade Australia
kate spade
KD 8 shoes
Lebron 13
led lights
longchamp backpack
longchamp bag
longchamp bags
longchamp le pliage large tote
longchamp le pliage medium
Longchamp Outlet
longchamp sale
longchamp tote
louboutin heels
louboutin shoes
louboutin shoes
louis vuitton uk
louis vuitton australia
louis vuitton
louis vuitton alma bag
louis vuitton artsy
louis vuitton artsy
louis vuitton australia
louis vuitton bags
louis vuitton bags
louis vuitton bags
louis vuitton bags
louis vuitton belt
louis vuitton damier
louis vuitton diaper bag
louis vuitton duffle bag
louis vuitton eva clutch
louis vuitton factory outlet
louis vuitton handbags on sale
louis vuitton messenger bag
louis vuitton monogram
louis vuitton neverfull
louis vuitton neverfull mm
louis vuitton online
louis vuitton outlet
louis vuitton outlet
louis vuitton outlet
louis vuitton outlet online
louis vuitton perfect
louis vuitton purses
louis vuitton shoes men
louis vuitton shoulder bag
louis vuitotn speedy
louis vuitotn speedy
louis vuitotn speedy
louis vuitton tote bag
louis vuitton travel bag
louis vuitton uk
louis vuitton uk
louis vuitton uk
louis vuitton wallet for women
louis vuitton watllets
louis vuitton zippy wallet
market 365
MCM Backpack
mcm backpack
mcm bag
MCM Bags
MCM Bags
mcm bags
mcm clutch
mcm duffle bag
mcm handbags
MCM Outlet
mcm purses
mcm rucksack
mcm tote
mcm tote bag
Mens Sunglasses
michael kors canada
michael kors australia
michael kors outlet
michael kors australia
michael kors
michael kors australia
michael kors bags on sale
michael kors outlet store
michael kors black handbags
michael kors black purse
michael kors clutch
michael kors crossbody
michael kors factory outlet
michael kors hamilton tote
michael kors handbags
michael kors handbags on sale
michael kors hobo bag
Michael Kors Outlet
Michael Kors Outlet
michael kors outlet
michael kors purses
michael kors purses outlet
michael kors purses
michael kors satchel
michael kors tote
michael kors tote
michael kors tote bags
Michael Kors Watches
mizuno shoes
mizuno shop
mizuno wave
nike australia
nike air
nike air
nike air jordan
nike air jordan
nike air max
nike air shoes
nike all
nike shoes
nike online
nike danmark
nike free danmark
nike free run
nike free run sko2
nike jordan
nike jordan shoes
nike run
nike shoes
nike shop us
nike shopping
nike show
nike norway
nike sweden
nike year
oakley australia
Oakley Outlet
oakley sunglasses
oakley sunglasses
oakley sunglasses
Oakley holbrook sunglasses
outlet michael kors
Pandora Charm
pirate system
Polo Ralph Lauren
Polo Ralph Lauren
popular sunglasses
prada bags
prada bags
prada belts
prada clutch
prada-crossbody
prada crossbody bags
prada handbags
prada handbags
prada handbags sale
prada loafers
prada messenger bag
Prada Outlet
prada outlet
prada purses
prada shoes
prada tote
primark online uk
Ralph Lauren
Ralph Lauren
Ralph Lauren Polo
Ralph Lauren Polo
Ralph Lauren Shirts
Ralph Lauren UK
Ralph Lauren UK
ray-ban
Ray Ban Outlet
ray-ban sunglasses
ray-ban sunglasses
ray-ban sunglasses
salomon shoes
Salomon Shoes
sheepskin boots
sunglasses on sale
tiffany co
tiffany co
timberland boots uk
titan watches
true religion uk
true religion jeans
trx
TRX Bands
trx exercise
TRX Exercises
trx for sale
trx straps
TRX Straps
trx suspension
trx suspension
TRX Training
TRX Workout
trx workouts
trx workouts
TRX Workouts
ugg australia
ugg boots
ugg boots
ugg boots
ugg boots
ugg boots
ugg boots for women
ugg boots ireland
ugg boots uk
ugg uk
Ray Ban wayfarer sunglasses
yeezy boost 350
yeezy boost 350
LZM3.21
LIZHIMIN
 
Posts: 182
Joined: Mon Mar 21, 2016 2:38 am

Next

Return to EZ GUI General

Who is online

Users browsing this forum: No registered users and 3 guests