New topic: 

Font different in console and desktop app graphics object

<http://forums.realsoftware.com/viewtopic.php?t=46137>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        [email protected]          Post subject: Font different in 
console and desktop app graphics objectPosted: Tue Dec 04, 2012 7:29 pm         
                
Joined: Tue Dec 04, 2012 7:16 pm
Posts: 1                Hi,

I am working on a console app that reads a curtain xml file with objects and 
exports a picture according to elements written in xml. This works perfectly 
well, however I have a problem with fonts in desktop vs. console version of the 
app.
A few notes:
- measurements of objects in xml are in cm and I am creating a picture with 300 
dpi so calculation to pixels is done correctly
- font point size is converted according to the scale of the image which also 
works correct (however with different scale factor for desktop and console app)
- output on various platforms is completely the same

Differences I see in the output:
- font size: scaling factor is different in console and desktop app (seems like 
desktop would have 72 dpi and console 96 dpi)
- when comparing the output font on desktop application the character spacing 
and line spacing differs a lot
- compared to photoshop image with same pixel size image and font size, the 
desktop app seems to be accurate, the output from console app is wrong

I am using an external module to create pictures that is same in both apps so 
code used is the same. The finished app will run on a server as console app, 
triggered by a cron, the reason to use a desktop app is purely because of speed 
and visual representation on screen.

Could someone help me in this? Thanks in advance.

p.s. I am a long time Real Basic user since version 3, but didn't use the 
forums quite long so had to create a new account.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to