Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
After they made changes to it, it became practically useless on MBA.

The old method using css stylesheet found here http://apple.stackexchange.com/ques...-the-font-size-of-3-finger-tap-lookup-results doesn't seem to apply anymore. Individual language dictionary files still contain css files, but changing text size in them doesn't do anything.

Screen_Shot_2015_06_28_at_09_33_33_popiet.png
 

TheBuffather

macrumors 6502a
Jul 19, 2009
514
282
Tampa, FL
Unless I am mistaken, the font since decreased from DP 1 to DP 2. I noticed that immediately. In any event, I don't know of a way to change this.
 

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
It's sad, and I can't think of a single reason why would they need to make that text microscopic in the first place.
 

MikhailT

macrumors 601
Nov 12, 2007
4,583
1,327
@SmOgER, file a bug report. I did as well, I can't see these smaller fonts well. The font size in Yosemite was perfect.

I think the problem is that they chose a thin font that makes it look smaller as well. When choosing a thin font, you should increase its size to remain its readability.
 

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
Okay I found a fix. :)

~/Library/Preferences
com.apple.Safari.plist

change WebKitMinimumFontSize from 0 to 15 (or the size you prefer)
works like a charm!

Screen_Shot_2015_07_06_at_12_11_19_prie_piet.png
 
Last edited:

crapix

macrumors newbie
Jul 6, 2015
24
6
Okay I found a fix. :)

~/Library/Preferences
com.apple.Safari.plist

change WebKitMinimumFontSize from 0 to 15 (or the size you prefer)
works like a charm!

Screen_Shot_2015_07_06_at_12_11_19_prie_piet.png
I found no WebKitMinimumFontSize key in the plist
 

crapix

macrumors newbie
Jul 6, 2015
24
6
I use look up to find definition of word a lot. However the dp2 version's look up font size is extremely small
 

Shirasaki

macrumors P6
May 16, 2015
16,263
11,764
I use look up to find definition of word a lot. However the dp2 version's look up font size is extremely small
I have seen this as well.
And, if there is a post in "El Capitan all little things" thread? Or bug report thread?
 

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
I found no WebKitMinimumFontSize key in the plist
It's in there. 2 keys below WebGrammarCheckingEnabled

But if it truly isn't, then simply create it.


Can't you do this from Safari / Preferences / Advanced : Accessibility : "Never use font size smaller than..." ?
No.
This would affect the view of the webpage itself and would basically just mess it up and make everything look horrendous. It has nothing to do with solving the issue in question.
 
Last edited:

MikhailT

macrumors 601
Nov 12, 2007
4,583
1,327
No.
This would affect the view of the webpage itself and would basically just mess it up and make everything look horrendous. It has nothing to do with solving the issue in question.

Dude, it's the same thing. The fact it says com.apple.Safari.plist should've told you that.

Many apps or widgets uses the same WebKit framework that Safari also uses and if you change the setting in Safari, it can affect these apps as well. Because this is an accessibility option, Apple is probably telling Lookup to read the Safari plist for the size.

In fact, just change it in Safari and you'll see the number changed in the plist file as well.

0 means the option is turned off in Safari. Enable it and change it to 12 in Safari, changes it to 12 as well in the plist.

Here's the GIF:

4aLXhh8g.gif
 
Last edited:

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
Dude, it's the same thing. The fact it says com.apple.Safari.plist should've told you that.

Many apps or widgets uses the same WebKit framework that Safari also uses and if you change the setting in Safari, it can affect these apps as well. Because this is an accessibility option, Apple is probably telling Lookup to read the Safari plist for the size.

In fact, just change it in Safari and you'll see the number changed in the plist file as well.

0 means the option is turned off in Safari. Enable it and change it to 12 in Safari, changes it to 12 as well in the plist.

Here's the GIF:

4aLXhh8g.gif
You are wrong.

It does change from the GUI, but in GUI there is the global setting which affects several keys related to the font size, therefore the end result is that you won't be able to see ANY fonts smaller than that number.

Now my solution is isolated mainly to the lookup popout:

Screen_Shot_2015_07_07_at_12_07_42_prie_piet.png





1. Safari GUI option remains disabled.
2. Unlike the GUI option, webpage fonts remain MUCH smaller than 26 (used it that big to make it even more obvious) maintaining their original scale.
3. look-up description is just about the only thing which gets affected.

If I was to set ~26px as a minimum font size in Safari preferences, you wouldn't see any text in website screenshot smaller than the font size in that look-up description.

Now try to set global minimum font size ~26px in Safari GUI and see for yourself how awful it would look like:

Screen_Shot_2015_07_07_at_01_07_25_prie_piet.png
 
Last edited:

SmOgER

macrumors 6502a
Original poster
Jun 2, 2014
805
89
Yes exactly.
And how exactly have you concluded this? It's funny how many people can arrive at wrong conclusion based on one comment even without trying it themselves.

EDIT: No offence, but next time I will think twice before sharing what solved my problem. To be honest, I have better things to do than trying to prove that what works - works to those who didn't bother to even try it in the first place.
 
Last edited:

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
You are wrong.

It does change from the GUI, but in GUI there is the global setting which affects several keys related to the font size, therefore the end result is that you won't be able to see ANY fonts smaller than that number.

You are both right and wrong. It's true that enabling the setting in Safari will also affect the Lookup font size. However, when you set it to 10 or 11 or even 12, you will unlikely affect the layout of most websites and even if it does, when the font size is too small for you in Lookup then it is most likely too small on webpages too. When I set it to 12 on this particular page, only the buttons underneath each post will become slightly bigger. Thus there is probably a good reason to stick with the Safari option anyway, unless you want to use a very large font size for Lookup.

I found no WebKitMinimumFontSize key in the plist

I recommend using Terminal instead, it's a neater option and quicker for you. Open the Terminal app (just look for it in Spotlight) and type in:
Code:
defaults write com.apple.safari WebKitMinimumFontSize -int 11

Or any other font value. This will create the preference key/value pair for you.
 
  • Like
Reactions: adrianlondon

crapix

macrumors newbie
Jul 6, 2015
24
6
You are both right and wrong. It's true that enabling the setting in Safari will also affect the Lookup font size. However, when you set it to 10 or 11 or even 12, you will unlikely affect the layout of most websites and even if it does, when the font size is too small for you in Lookup then it is most likely too small on webpages too. When I set it to 12 on this particular page, only the buttons underneath each post will become slightly bigger. Thus there is probably a good reason to stick with the Safari option anyway, unless you want to use a very large font size for Lookup.



I recommend using Terminal instead, it's a neater option and quicker for you. Open the Terminal app (just look for it in Spotlight) and type in:
Code:
defaults write com.apple.safari WebKitMinimumFontSize -int 11

Or any other font value. This will create the preference key/value pair for you.
nothing happened
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
nothing happened

You won't get a confirmation. But you can type the following to verify whether the key (now) exists:
Code:
defaults read com.apple.safari WebKitMinimumFontSize

It should return you the number you entered, i.e. the font size.

Not sure whether you have to restart anything or whether the change will be applied immediately.
 

RaphBenYisra'el

macrumors newbie
Jul 18, 2015
1
0
You are both right and wrong. It's true that enabling the setting in Safari will also affect the Lookup font size. However, when you set it to 10 or 11 or even 12, you will unlikely affect the layout of most websites and even if it does, when the font size is too small for you in Lookup then it is most likely too small on webpages too. When I set it to 12 on this particular page, only the buttons underneath each post will become slightly bigger. Thus there is probably a good reason to stick with the Safari option anyway, unless you want to use a very large font size for Lookup.



I recommend using Terminal instead, it's a neater option and quicker for you. Open the Terminal app (just look for it in Spotlight) and type in:
Code:
defaults write com.apple.safari WebKitMinimumFontSize -int 11

Or any other font value. This will create the preference key/value pair for you.
This didn't work for me, even upon reboot the font size remained the same.

I'm surprised more people aren't talking about this. It's now such a strain to see the font size in the dictionary popup since updating to El Capitan

Do not that many people actually use the dictionary popup? I don't understand.
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
This didn't work for me, even upon reboot the font size remained the same.

I'm surprised more people aren't talking about this. It's now such a strain to see the font size in the dictionary popup since updating to El Capitan

Do not that many people actually use the dictionary popup? I don't understand.

I can confirm, it doesn't seem to work in the public beta.
 
  • Like
Reactions: RaphBenYisra'el
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.