https://bugs.documentfoundation.org/show_bug.cgi?id=141168

--- Comment #7 from ajlittoz <page74010...@yahoo.fr> ---
(In reply to Heiko Tietze from comment #6)
> Moreover, your idea to manipulate attributes to make two different fonts
> visually similar sounds wrong to me.

You're right I'm abusing Writer features but only as a work around against a
design limitation.

I want to mix in the same paragraphs two font which visually have not the same
x-height though they come from the same font designer. To have a nice look, I
need to set font size to 80% of the one used in the paragraph.

As you know, character style font size can be set relative to their ancestor
character style font size, not paragraph style.

Thus, I can tune font size to be used with Text Body (e.g. 10pt vs. 12pt). But
when I use the character style in a footnote, I still have 10pt vs. 10pt which
breaks the intent.

The only circumstance where a character style may be made relative to a
paragraph style is super/subscript. This is why I abused the feature.
Unfortunately, I can't get baseline continuity because the offset is 1% at
least.

I perfectly know this is a hack and an ugly one. It is an abuse. But I can't
see any other solution.

Design-wise, I see no solution. Character styles must be defined relative to
each other (as are paragraph styles). However there are cases where some
attributes need to be defined relative to the paragraph style where they'll be
used. This is a dynamic behaviour and I imagine this would be a hell of a
nightmare to implement (deferred style configuration until it is used;
different configuration in different occurrences cascading to other dependent
character styles, …) not speaking of the acceptance of such a feature in ODF.

Eventually, could not Default Character Style be considered as a placeholder
for the attributes in the paragraph style? Character styles defined
independently from Default Character Style keep their present "combat-proven"
properties. Those defined as modification of Default Character Style would be
relative to the Paragraph Style.

Not speaking of implementation issues, does this make sense (at least for font
size as I don't see applications with the other attributes)?

Ideally, I would like negation of bold, italic, underline, … but these are not
binary attributes because modern fonts may have a wide range of weights and
"italic" does not imply slanted (italic just means a different kind of shape).
So, no solution on these apart from some introspection macro instead of
checkboxes. But then, again an implementation nightmare.

I should perhaps start to learn LaTeX.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise

Reply via email to