Tree font and high DPI friendliness

Have an idea? We want to hear it!

Tree font and high DPI friendliness

Postposted BrentKelly » February 7th, 2011, 8:05 pm

Vlad,
This is probably already on your list of enhancements you'd like to make in AllMyNotes after you've implemented high-priority features. But just in case it's not...

I'd like to be able to control which font (and font size) is used within the tree, at least at a global level but it would be great to be able to change this at the note/folder level too. The current font size is just a little too small for me.

Actually, the same request applies to the menu too (i.e., File, Edit, etc.), because on my screen that font is very small.


Thanks,
Brent
BrentKelly
 
Messages: 54
Member since:: January 10th, 2011, 4:19 pm
City/Country: USA/Florida

Re: Tree font

Postposted vlad » February 7th, 2011, 9:17 pm

Hi Brent,

There is a solution. Font name/size can be specified in Skin configuration file. You can play with it by locating SkinInfo.ini file, and create/modify lines below:


Code: Select all
***************************************
**
**  Fonts
**

FontNormalName=SegoeUI.TTF
FontNormalSize=90

FontMenuName=SegoeUI.TTF
FontMenuSize=85

FontEditName=SegoeUI.TTF
FontEditSize=100

FontWndTitleName=SegoeUI.TTF
FontWndTitleSize=90
FontWndTitleBolded=TRUE

FontHintName=SegoeUI.TTF
FontHintSize=150



Once you are done with modifications restart AllMyNotes.
You may notice that these lines are present in HolyCrown skin, but commented out (disabled, to use default Windows font).

There is one inconvenient thing about it - each time after installing an upgrade will be needed to restore these lines, as skin will be reinstalled too. To go around this issue I'd recommend creating copy of skin, renaming it, so that installer will not overwrite it. But still will be needed to update it in accordance with original skin file changes.

Please use this solution for now. And as a better solution I'll file for implementation an option to modify font size...
AllMyNotes Organizer usage tip: organize web-passwords
vlad
Site Admin
 
Messages: 1033
Member since:: January 6th, 2011, 2:58 pm
City/Country: Earth -> Europe

Re: Tree font

Postposted BrentKelly » February 7th, 2011, 9:32 pm

Good idea, Vlad. Thanks!
BrentKelly
 
Messages: 54
Member since:: January 10th, 2011, 4:19 pm
City/Country: USA/Florida

Re: Tree font

Postposted BrentKelly » February 7th, 2011, 11:56 pm

Vlad,
I went with what's shown below. What's strange is that this didn't change the font, only the font's size, which is OK because that's what I was after. I just wanted to let you know that changing the font name had no effect other than to allow my font size to be used. When I commented-out each 'name' line, my 'size' lines weren't used. Just fyi.

Code: Select all
FontNormalName=SegoeUI.TTF
FontNormalSize=90

FontMenuName=SegoeUI.TTF
FontMenuSize=90

FontEditName=SegoeUI.TTF
FontEditSize=90

FontWndTitleName=SegoeUI.TTF
FontWndTitleSize=100
FontWndTitleBolded=TRUE


Brent
BrentKelly
 
Messages: 54
Member since:: January 10th, 2011, 4:19 pm
City/Country: USA/Florida

Re: Tree font

Postposted vlad » February 8th, 2011, 8:02 am

BrentKelly wrote:What's strange is that this didn't change the font, only the font's size...


It's because on my system I have bit different font packs installed. You may use font name installed in windows, or .ttf font file name located in the skin directory.
You may try "Tahoma", "Century Gothic" (without quotes), etc.
AllMyNotes Organizer usage tip: organize web-passwords
vlad
Site Admin
 
Messages: 1033
Member since:: January 6th, 2011, 2:58 pm
City/Country: Earth -> Europe

Re: Tree font

Postposted BrentKelly » February 8th, 2011, 8:03 pm

I've tried several fonts that are located in my /windows/font directory, but the style shown in the tree never changes. My skin directory doesn't have any fonts in it (should it?). So I copied the SegoeUI.ttf file to that directory to see if it would be picked up there. It wasn't.
BrentKelly
 
Messages: 54
Member since:: January 10th, 2011, 4:19 pm
City/Country: USA/Florida

Re: Tree font

Postposted opal » April 12th, 2012, 2:44 pm

Hi Vlad,
Thank you for pointing to the files to adjust. I've tried several times now without success. I am more of a graphics person than a code person, so digging around in the guts of programs frightens me a little.
I am used to font sizes being much smaller numbers than 90, ie 12 - 14 - 18... so this will be trial and error for me.

If I am to understand correctly, I can only alter the font size within the default skin, yes?
opal
 

Re: Tree font

Postposted vlad » April 12th, 2012, 6:48 pm

opal wrote:Thank you for pointing to the files to adjust. I've tried several times now without success.


Need to:
1. Save/update these .ini file lines.
2. Restart AllMyNotes.

opal wrote:I am used to font sizes being much smaller numbers than 90, ie 12 - 14 - 18... so this will be trial and error for me.


Just play with it a little, to get a feeling how numbers affect the size.

opal wrote:If I am to understand correctly, I can only alter the font size within the default skin, yes?


With any skin. Hmm... Possibly you are working with wrong sininfo.ini file? Cause there is two skins - "Holy Crown", and "Deep". Possibly you are modifying one skin, while AllMyNotes is configured to display another one?
AllMyNotes Organizer usage tip: organize web-passwords
vlad
Site Admin
 
Messages: 1033
Member since:: January 6th, 2011, 2:58 pm
City/Country: Earth -> Europe

Re: Tree font and high DPI friendliness

Postposted Lynette » April 29th, 2017, 7:05 am

I have tried without success to do this! I have this but the higher numbers make no difference?

**
** Fonts
**

//FontNormalName=SegoeUI.TTF
//FontNormalSize=200

//FontMenuName=segoepr.ttf
//FontMenuSize=200

//FontEditName=TENAHB48.TTF
//FontEditSize=120

//FontWndTitleName=Orbitbn.ttf
//FontWndTitleSize=200
//FontWndTitleBolded=TRUE

//FontHintName=Amelian.TTF
//FontHintSize=150
Lynette
 
Messages: 3
Member since:: November 15th, 2012, 9:02 am

Re: Tree font and high DPI friendliness

Postposted vlad » April 30th, 2017, 7:14 am

Lynette wrote:I have tried without success to do this! I have this but the higher numbers make no difference?

**
** Fonts
**

//FontNormalName=SegoeUI.TTF
//FontNormalSize=200

//FontMenuName=segoepr.ttf
//FontMenuSize=200

//FontEditName=TENAHB48.TTF
//FontEditSize=120

//FontWndTitleName=Orbitbn.ttf
//FontWndTitleSize=200
//FontWndTitleBolded=TRUE

//FontHintName=Amelian.TTF
//FontHintSize=150


You have to remove // characters, as these there to block these lines, like this:

FontNormalName=SegoeUI.TTF
FontNormalSize=200

FontMenuName=segoepr.ttf
FontMenuSize=200

FontEditName=TENAHB48.TTF
FontEditSize=120

FontWndTitleName=Orbitbn.ttf
FontWndTitleSize=200
FontWndTitleBolded=TRUE

FontHintName=Amelian.TTF
FontHintSize=150
AllMyNotes Organizer usage tip: organize web-passwords
vlad
Site Admin
 
Messages: 1033
Member since:: January 6th, 2011, 2:58 pm
City/Country: Earth -> Europe

Re: Tree font and high DPI friendliness

Postposted Lynette » April 30th, 2017, 9:54 am

Yes it works now!

Many thanks....
Lynette
 
Messages: 3
Member since:: November 15th, 2012, 9:02 am

Re: Tree font and high DPI friendliness

Postposted biga » September 1st, 2017, 5:45 pm

Hello,
If I need to create a new post for this issue please let me know.

Is this information concerning increasing the Tree and Menu sizes still the only way to accomplish this? I am not real savey in this area and am not sure I want to try this as I am afraid of messing something up permanently.

Hoping there is an automated way this can be done now other than this manual method. Please advise.

Thanks in advance.
biga
 
Messages: 2
Member since:: July 29th, 2013, 1:25 pm

Re: Tree font and high DPI friendliness

Postposted biga » September 1st, 2017, 6:58 pm

I took a leap of faith and have successfully adjusted my system. No reply necessary to my initial post.
Thank you.
biga
 
Messages: 2
Member since:: July 29th, 2013, 1:25 pm


Return to Feature Requests

cron