RE: Small drawing problem with Chinese-compatible font

2010-09-23 Thread Roger L. Whitcomb
- From: Sandro Martini [mailto:sandro.mart...@gmail.com] Sent: Thursday, September 23, 2010 2:16 PM To: dev@pivot.apache.org Subject: Re: Small drawing problem with Chinese-compatible font Hi to all, a quick work-around: adding a space character at the end of the trimmed string works ? If this

Re: Small drawing problem with Chinese-compatible font

2010-09-23 Thread Sandro Martini
Hi to all, a quick work-around: adding a space character at the end of the trimmed string works ? If this works maybe we could think at an optional property to add a little more space to labels ... but I agree that this is only a work-around. Sandro

RE: Small drawing problem with Chinese-compatible font

2010-09-22 Thread Roger L. Whitcomb
-Original Message- From: Greg Brown [mailto:gkbr...@mac.com] Sent: Tuesday, September 21, 2010 7:29 PM To: dev@pivot.apache.org Subject: Re: Small drawing problem with Chinese-compatible font It doesn't appear to happen with all fonts. For example, this works: http://pivot.apache.org

Re: Small drawing problem with Chinese-compatible font

2010-09-21 Thread Greg Brown
anguage=blah" on the command-line, so I have to > dynamically pick a suitable font on the user machine. > > Roger Whitcomb | Architect, Engineering | roger.whitc...@ingres.com | Ingres > | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA +1 > 650-587-5596 |

RE: Small drawing problem with Chinese-compatible font

2010-09-21 Thread Roger L. Whitcomb
user machine. Roger Whitcomb | Architect, Engineering | roger.whitc...@ingres.com | Ingres | 500 Arguello Street | Suite 200 | Redwood City | CA | 94063 | USA +1 650-587-5596 | fax: +1 650-587-5550 -Original Message- From: Greg Brown [mailto:gkbr...@mac.com] Sent: Tuesday, September 21

Re: Small drawing problem with Chinese-compatible font

2010-09-21 Thread Greg Brown
How are you generating that text? It looks like you are using an a Prompt with a custom body. What does the source code for the body look like? What happens if you place this text in the following hierarchy? Window (maximized)/BoxPane (horizontal)/Label (using Chinese font) FYI, you don't need