[Kst] [Bug 221749] Clearer font size definition

Nicolas Brisset nicolas.brisset at eurocopter.com
Fri Jan 8 15:21:28 CET 2010


https://bugs.kde.org/show_bug.cgi?id=221749





--- Comment #3 from Nicolas Brisset <nicolas brisset eurocopter com>  2010-01-08 15:21:24 ---
(In reply to comment #2)
> Based on your comments, here is my new proposal:
>     -Remove reference font size from the settings.  All font sizes will be 
> absolute relative to the reference page size.
OK, so e.g. a size of 12 will result in 12 pt on A4 if A4 is the reference
size. Is that correct? That should work, though I think it has to be documented
clearly so that people understand it.

>     -Change the default reference page size to Letter or A4, and have a pull
> down 
> list of common sizes (maybe Letter, A4, 1 column Journal plot, Custom).
Yes, that would be very much better. I vote for A4, but I'm biased. And it does
not really matter if it's a setting you have to change only once. And from the
other comment (to publications) I understand the requirement for an explicit
reference size better.

>     -Add 'increase all fonts' and 'decrease all fonts' actions to scale 
> everything.
>     -Add check box options to re-scale all fonts when plots are added to a tab.
Sounds OK.

> Suggestion: have a check box wherever you add plots to a tab to optionally 
> resize the fonts of all plots in the tab, but keep the general calculations 
> relative to the page, not the plot, so consistency remains easy.
[...]
> In 2.x, size is relative to the page not the plot.  This is important I think.
I think we need to be able to rescale fonts, and the idea sounds good. Page
consistency is important (hence my initial comment that also went in this
direction). 
However, I'm slightly confused: you talk about page-based font size, but we
clearly need to scale the fonts down when adding more plots in a given page. So
it can't really be page-based. Could you elaborate on that a bit?

And I'd also like to have your thoughts on the last two points, which you
haven't commented on:
- when a user chooses to override defaults, we could offer the same size offset
spinboxes as today, but with values like -50% -40% ... -10% standard +10% ...
+50% and called something explicit like "Font size adaptation"
- for "floating" text boxes (like legends and text view items) resizing in
layout mode should be allowed and the font size computed to fill out exactly
the box drawn by the user. That is much more convenient than the current
approach with font size offsets! Plus, they should scale with the plot(or the
window) containing them.
Especially the second one is a must, I think.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kst mailing list