Community
Participate
Working Groups
A recent change caused the proportions of the standard and fixed width font in WikiText to change (see screenshot). The fixed width font is now much bigger than the standard font on Gtk.
Created attachment 154527 [details] screenshot
Thanks for reporting this Steffen, I have been meaning to do this for a week or so but havent got around to it. I am seeing the same problem on windows. I think that the problem started when a preference was added for the font.
Wow, that looks really bad! Thanks for the bug. Is the problem you're observing in the task editor?
I forgot to ask: if this is in the task editor, is it in the new comment area, for existing comments, or both?
Created attachment 154677 [details] patch that should fix the issue.
Steffen/Shawn can you give this patch a try and let me know if it resolves the issue? I've tried it here and it looks good to me. Thanks!
The size looks okay with the patch applied but it doesn't seem to be using a mono space font any longer.
Created attachment 154777 [details] mylyn/context/zip
I've committed a fix for this, and tested on Linux. Please try it out and let me know what you think. The editor should now be getting the monospace font from the font preference (Tasks->Monospace Font). While we're in there do we want to change the default size of the monospace font? Currently it's set to 13. I noticed that the comments/notes font size is 11. For me, 13, looks fine on my high-resolution screen (mac) however it looks terrible when I'm running Linux at a lower resolution.
Created attachment 154790 [details] mylyn/context/zip
Thanks. That seems to work. I agree that a size of 13 is rather big. The standard comment font is Tahoma-regular-10 (for Windows). Should we set the default mono-space size to 10 as well? I have set it 9 on my system but I have changed my system settings to use a smaller font.
Created attachment 155215 [details] Screenshot showing different font sizes for plain text and hyperlinks (URLs) I also see the issue with Trac, that the links are in smaller fonts, but only in the preview-mode. See attachment. This does not happen with e.g. Bugzilla.
Will the provided patch correct this issue? Is there any workaround or have I just wait for the next weekly build? Thanks, Jörg
I'll create another weekly build. That should allow you to modify the font size through the preferences until we have settled on a new default size.
(In reply to comment #14) > I'll create another weekly build. That should allow you to modify the font size > through the preferences until we have settled on a new default size. Thanks, Steffen. Just updated to the new weekly build. But I wonder how I could adjust the font sizes. I checked all fonts in the "Colors and fonts" preferences and all are set to either "Sans Serif 7" or "Monospace 7". But the hyper-linked text still shows up in a larger font (the font used by the WikiText editor). If I switch to preview-mode or look at the already submitted comments, the normal text is using the font size 7, but the hyper-linked text stays at the larger font (see already attached screen shot). Is this another bug?
Created attachment 155569 [details] screenshot showing font size issue on a mac
the last screenshot was from bug 298626
Created attachment 155643 [details] screenshot on Gtk
It works for me if I change the Task Editor - Monospace Font in the Tasks category.
For Windows, I think we should set a default of 10px for both fixed and variable width.
Looks like the default Gtk Theme uses size 10 for dialogs on Ubuntu 8.04. A font size of 10 for both looks good but if we wanted to make the task editor notes font more concise by default we should go with 9 for both.
Size 11 looks good on Mac OS X
David, Rob: Just curious, how does size 10 look on OS X? Could you post screenshots of both? Just wondering since it could make sense to have a consistent default across the OSes, but only if it's balanced with the other fonts.
Created attachment 156972 [details] Screenshot showing MacOSX sizes 10 and 11 Attached screenshot comparing size 10 and size 11 fonts on Mac OS X side by side. I like size 11 more (it looks like size 10 is not antialiased)
Here's a test comment for showing monospace font pre{color:red}. See here it is! Monospace Monospace Monospace Monospace Monospace Monospace BTW, notice how easy it is to make text stand out with color? def ghi Test complete, this is now regular font.
Created attachment 157028 [details] Preview and edit font differ -- how to make them identical?
Looking at the font preference menu, the Task Editor section has two fonts: * Task Editor - Monospace font * Task Editor - Notes and Comments I was not aware of the second font since I always put the keyword "font" into the quick filter. But the second entry is not matched -- please rename it to "Notes and Comments font" In addition, with regard to the "WikiText Text Font": 1. What means "overrides default..." instead of "set to default" as in other places 2. The preview shows "Sans 7" but if I click edit it shows "Sans 12"! 3. Changing it to "Sans 7" keeps the preview, but nothing does happen in new editor panes. 4. Also playing around setting to size 8 and then back 7 does not change anything. So I wonder how I could set my WikiText Text Font??? I attached a screen shot.
Everyone: let's get this font size issue wrapped up. I'm looking for feedback on preferred default font size for each supported platform. The font size should be the same as the task comment default size. Currently the task comment default font size per-platform is Tahoma-regular-10 on Win 32, otherwise defaults to the dialog font which is Lucida Grande 13 on Mac OS X. What I suggest for Mac is size 11 for both monospace and regular font.
+1 for 11 on Mac
From the call: * Linux - 10 * Mac - 11 * Win32 - 10
Created attachment 159637 [details] patch that sets default font size to 10, 11 on mac Any chance I could get Windows, Mac and Linux users to try out this patch? It sets the default font size to 10 for linux and windows, 11 on Mac.
Created attachment 159638 [details] mylyn/context/zip
(In reply to comment #31) > Any chance I could get Windows, Mac and Linux users to try out this patch? It sets the default font size to 10 for linux and windows, 11 on Mac. How about a weekly build?
Created attachment 159829 [details] screenshot on Ubunutu 8.04
Thanks for the screenshot. Do you like what you see or are there any problems that I'm not noticing?
It looks reasonable to me. It might be easiest if you go ahead and commmit the patch. We can still make adjustments if necessary.
Patch committed. Please reopen this issue if required. Joerg please open new bugs if needed pertaining to your comment #27
Created attachment 160004 [details] mylyn/context/zip