[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Right justify text
From: "Tim Kline" ####@####.#### Date: 20 Mar 2006 17:39:11 +0000 Message-Id: <8F9BD0F9805614499F3D929AB649134C48DA54@COEXCHANGE.hei.corp> Hi all, I'm a total newbie to Nano-X. So far everything is going fine. I can do just about everything I need to. I just have a couple of issues: I don't see a way to right justify text. Is there a flag or something that I haven't found? I feel like I'm missing something obvious... Also, I will need to add a feature to my app that displays text in columns. The client had previously specified Helvetica as the font, which of course, is proportional. Is there a way to make it act like a mono-space font (i.e. a flag or something that would add the appropriate space or maybe a way to specify number of pixels per char)? Since that seems unlikely, does anyone know of a free mono-space font that has characters that look just like Helvetica? Thanks, Tim | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: [nanogui] Right justify text
From: "Martin Kajdas" ####@####.#### Date: 20 Mar 2006 23:54:19 +0000 Message-Id: <CF2BB830A62F914F848E5AD5FFF57AC22914EE@mkmail.MKPROD.COM> 1. See fl_draw() function for info. Use FL_ALIGN_RIGHT for align parameter. 2. You can draw each character by itself but why bother. Use any mono-space font that you like and you won't have to do anything, just change the name of the font and specify the size. Start with all the fonts you have on your linux development system. This is how I pick my fonts. Martin -----Original Message----- From: Tim Kline ####@####.#### Sent: Monday, March 20, 2006 9:39 AM To: ####@####.#### Subject: [nanogui] Right justify text Hi all, I'm a total newbie to Nano-X. So far everything is going fine. I can do just about everything I need to. I just have a couple of issues: I don't see a way to right justify text. Is there a flag or something that I haven't found? I feel like I'm missing something obvious... Also, I will need to add a feature to my app that displays text in columns. The client had previously specified Helvetica as the font, which of course, is proportional. Is there a way to make it act like a mono-space font (i.e. a flag or something that would add the appropriate space or maybe a way to specify number of pixels per char)? Since that seems unlikely, does anyone know of a free mono-space font that has characters that look just like Helvetica? Thanks, Tim | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |