Fonts in Omnis studio
malkishtini at gmail.com
malkishtini at gmail.com
Thu Sep 23 03:49:59 UTC 2021
Ok, I'm reading your comment again, so you think that it might be related to studio 10.2 and monitor preferences in windows ..hmm..
I'll try to research that way and will check other fonts and see what I get.
From: malkishtini at gmail.com <malkishtini at gmail.com>
Sent: Wednesday, September 22, 2021 11:39 PM
To: 'OmnisDev List - English' <omnisdev-en at lists.omnis-dev.com>
Subject: RE: Fonts in Omnis studio
Thank you for your message and for you explanation to the # Styles. Agreed, #Styles are a very handy in studio.
We use # Styles in our studio app.
But the window(s)/libs that I'm dealing with now are newly converted from O7 and I'm just trying to compare them to see if there is any difference between them (one lib was converted a year ago and the other one was converted a month ago), both were converted thru the same convertor and I'm running them side by side on the same TS using same monitor.
The same lib, when I open it in Studio 10.2, I see a different font look than when I run it in 10.1. It's odd. not sure what I'm missing.
Thank you and best regards,
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Doug Easterbrook
Sent: Wednesday, September 22, 2021 7:07 PM
To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
Subject: Re: Fonts in Omnis studio
I couldn’t tell you offhand for this particular problem …. it might be that you have a high DPI screen and studio now takes that kind of stuff into account better (or not). There is a feature in the windows ‘monitor preferences’ that lets you scale the size of text. I might think that 10.2 would od it better as I seem to recall something liek that.
but it makes me think that I should tell you about #STYLES
instead of setting each field with 'omnis sans serif and specific size', you can set a style for the field. for exmaple, we have:
- PromptField (lucidia 13, bold, window background colour)
- EntryField (lucidia 13, plain, white bacground, inset)
- HeadedListField (lucidia 13, etc)
- Report Field (times new roman, 12)
- ReportHeader (time new roman 24)
you can set the #Styles for each platform. so on windows, you could use arial, where on mac you use lucida. this is great for report fonts.
this was a boon to us when we updated from omnis 5 to 10. we changed the font from geneva 10 on the mac to lucida 13 to meet apple’s current standards. and done, everywhere.
advantage.. if you are being challenged by this issue you have, you can change and entry in #styles programatically to adjust for a version of omnis.
so, I may have a hit on an idea for you as to your issue (DPI settings in Monitors Prefs)
and a reasonably neat way to deal with style changes using #styles.
Arts Management Systems Ltd.
mailto:doug at artsman.com
Phone (403) 650-1978
> On September 22, 2021, at 11:50 AM, malkishtini at gmail.com wrote:
> Hi $all,
> I have the same window with labels their text is set to "Omnis sans serif" .
> When I run the window in 10.1 I get different result than the fonts in 10.2, the fonts look different.
> It worth mention that I'm running the lib with the window in a different app in 10.1 than in 10.2.
> I'd like to understand why the font looks different in the same window when running in a different version of Omnis? What controls the font in this case?
> I'm checking the #WINFonts and I'm not finding any differences.
> Any insight is appreciated.
> Thank you,
> Manage your list subscriptions at http://lists.omnis-dev.com Start a
> new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en