You are not logged in.
It's the same across other systems, so I'll have to write something and release it that fixes this, if I can figure out Chromium
.
I already posted a quick'n'dirty fix in another thread, here it is:
diff -ur chromium-36.0.1941.0.orig/chrome/browser/defaults.cc chromium-36.0.1941.0/chrome/browser/defaults.cc
--- chromium-36.0.1941.0.orig/chrome/browser/defaults.cc 2014-04-15 09:14:06.000000000 +0200
+++ chromium-36.0.1941.0/chrome/browser/defaults.cc 2014-04-22 21:05:06.736103931 +0200
@@ -14,7 +14,7 @@
#endif
#endif
-const int kOmniboxFontPixelSize = 16;
+const int kOmniboxFontPixelSize = 11;
#if defined(OS_CHROMEOS) || defined(OS_MACOSX)
const bool kBrowserAliveWithNoWindows = true;
Adjust accordingly if the my chosen value doesn't suit you (here it produces the same size as everything else on my system, which is 8pt).
Last edited by Gusar (2014-05-26 09:19:08)
Offline
Does anyone know if the extension API allows the modification of the font size?
For web content, yes. For the interface, no. The addressbar size is hardcoded into the source, the only way to change it is patching and compiling.
Offline
Dang it, I noticed the same thing too. Now I need to compile the damn thing for this change?
Is google/chromium acknowledging this to be a bug OR is this how it's going to be going forward?
Offline
Dang it, I noticed the same thing too. Now I need to compile the damn thing for this change?
Yup.
Is google/chromium acknowledging this to be a bug OR is this how it's going to be going forward?
It appears not from the previous page of discussion.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
joshtau wrote:It's the same across other systems, so I'll have to write something and release it that fixes this, if I can figure out Chromium
.
I already posted a quick'n'dirty fix in another thread, here it is:
diff -ur chromium-36.0.1941.0.orig/chrome/browser/defaults.cc chromium-36.0.1941.0/chrome/browser/defaults.cc --- chromium-36.0.1941.0.orig/chrome/browser/defaults.cc 2014-04-15 09:14:06.000000000 +0200 +++ chromium-36.0.1941.0/chrome/browser/defaults.cc 2014-04-22 21:05:06.736103931 +0200 @@ -14,7 +14,7 @@ #endif #endif -const int kOmniboxFontPixelSize = 16; +const int kOmniboxFontPixelSize = 11; #if defined(OS_CHROMEOS) || defined(OS_MACOSX) const bool kBrowserAliveWithNoWindows = true;
Adjust accordingly if the my chosen value doesn't suit you (here it produces the same size as everything else on my system, which is 8pt).
Marry me? The developers need to not make it a hardcoded value, have it either in settings or a config file.
You are my hero, trying this now.
Offline
hey *!
i compiled chromium with this patch and i worked, of course. i built with the default arch-cflags. so i uploaded it for everyone who has an slow pc. maybe for some of its to small; i configuered to match my favorite font.
greetz flexo
EDIT: changed link to new version
Last edited by flexo3001 (2014-06-15 20:15:01)
Fight war not wars, destroy power not people!
Offline
@flexo3001
Thank you! So much better now.
See this screenshot: http://i.imgur.com/4e1WPyF.png
How about making a package for the AUR including the patch?
Offline
@flexo3001
Thank you! So much better now.
See this screenshot: http://i.imgur.com/4e1WPyF.png
How about making a package for the AUR including the patch?
sounds good, but i have no time to maintain this. but we know how fix it now
Last edited by flexo3001 (2014-06-03 19:58:48)
Fight war not wars, destroy power not people!
Offline
in case anybody is interested in patching the packaged binaries, this works for me (on x86_64):
emacs --eval '(hexl-find-file "/usr/lib/chromium/chromium")'
isearch for "Consent To". A few lines above that is "1000 0000", which is the compiled value for kOmniboxFontPixelSize. Change it to whatever you like, save and enjoy.
It will be interesting to see how long it will be until changes to the source and/or build tools break this hack...
Offline
Disabling HW-acceleration in Chrome 35.xx seems to fix some hanging problems. Did anyone try 36-beta from the aur? No relevant comments there for this thread.
Offline
EDIT: moved link to older post
Last edited by flexo3001 (2014-06-15 20:15:46)
Fight war not wars, destroy power not people!
Offline
chromium-latest (from yesterday) from AUR seems completely ok. Normal font sizes in menus and pepper-flash seems ok too.
Offline
chromium-latest (from yesterday) from AUR seems completely ok. Normal font sizes in menus and pepper-flash seems ok too.
The issue was apparently fixed in Chromium 37.
Offline
Issue with big fontsizes in menus wasn't fixed in 37.x on Arch.
Offline
Issue with big fontsizes in menus wasn't fixed in 37.x on Arch.
Do you have an example? Just did the update to 37 and fonts look fixed for me, like @orschiro said.
Offline
Google-chrome Version 37.0.2062.94. Tabs, bookmarkfield and right click menus - all with too big fontsize. Not so in Chromium-Latest.
Guess I'm in a minority then. No bother. I'd just like to inform others in this siuation that there is an alternative. All bookmarks, plugins and logins etc seem to work nicely in chromium-latest too.
Offline
in case anybody is interested in patching the packaged binaries, this works for me (on x86_64):
emacs --eval '(hexl-find-file "/usr/lib/chromium/chromium")'
isearch for "Consent To". A few lines above that is "1000 0000", which is the compiled value for kOmniboxFontPixelSize. Change it to whatever you like, save and enjoy.
It will be interesting to see how long it will be until changes to the source and/or build tools break this hack...
okay, it stopped working in chromium 37. In that version, search for
1000 0000 0001 0101
and replace the first "10" with "0c" or whatever. In chromium 37.0.2062.120-2 packaged for x86_64, the offset of that byte is 0x048bb048
Offline
Thanks crs, I can confirm that the hex edit works for the latest chromium version.
For those out there you can do it in a one liner via sed
# Search for 1000 0000 0001 0101 and replace the first "10" with "0B" or whatever. "0B" is the font size. "0B" gives me size 8 on my system. "0C" is larger and "0A" is smaller.
sed -i 's/\x10\x00\x00\x00\x00\x01\x01\x01/\x0B\x00\x00\x00\x00\x01\x01\x01/' PATH_TO_CHROMIUM_EXECUTABLE
Offline
chromium 47 has a new way of specifying the omnibox default font size, it's now an integer array [16, 14, 14]. I don't know what the index is, but patching the first element worked for me to change the omnibox font. I loaded /usr/lib/chromium/chromium using emacs' hexl-find-file, searched for 1000 0000 c744 2474, and patched the first byte to 0x0c
Offline