[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Heiko Tietze  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Heiko Tietze  ---
(In reply to Jan-Marek Glogowski from comment #10)
> Or we open a new bug?

There are plenty, thought none about shuffling controls around ;-).

bug 78186 Add an easy way to know which fonts are used in a document and which
of them are missing
bug 94327 UI: Apply font substitutions for global replacement of missing (or
incorrect) font names
bug 96872 Make it more obvious that a font has been substituted (see comment
12)
bug 104667 Font substitution mechanism for import formats

https://design.blog.documentfoundation.org/2016/10/21/dealing-with-missing-fonts/
https://design.blog.documentfoundation.org/2018/02/18/improvements-font-listing/

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Jan-Marek Glogowski  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
   Keywords||needsUXEval
 Resolution|FIXED   |---

--- Comment #10 from Jan-Marek Glogowski  ---
(In reply to Heiko Tietze from comment #9)
> (In reply to Commit Notification from comment #8)
> > Jan-Marek Glogowski committed a patch related to this issue.
> 
> Fixed, I guess.

(In reply to Jan-Marek Glogowski from comment #0)
> Half of this is a "fuzzy" report.
> 
> IMHO the fixes needed are:
> 1. Consistently dis- and enable all the controls involved
> 2. Move the checkbox above the table

I've fixed this, the obvious bugs.

> But then I propose that the UX people have a look at it and eventually we
> can come up with some good ideas to make the usage more clear with a better
> workflow.

Nothing was done for UX. If you think there is nothing else to do, you can
close it again. Or we open a new bug?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Heiko Tietze  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org
   Keywords|needsUXEval |
 Status|NEW |RESOLVED

--- Comment #9 from Heiko Tietze  ---
(In reply to Commit Notification from comment #8)
> Jan-Marek Glogowski committed a patch related to this issue.

Fixed, I guess.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|target:7.2.0|target:7.2.0
   ||target:7.1.0.0.beta2

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

--- Comment #8 from Commit Notification 
 ---
Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/c4fb3b2a36ae044906b79012a33ee43ec989778a

tdf#138857 fix font replacement table GUI

It will be available in 7.1.0.0.beta2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.2.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

--- Comment #7 from Commit Notification 
 ---
Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/579cf9548615e8535a0569a8eb4cdf325fbbbac7

tdf#138857 fix font replacement table GUI

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

--- Comment #6 from Jean-Francois Nifenecker 
 ---
Thanks a lot Stuart. I get the points.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

--- Comment #5 from V Stuart Foote  ---
(In reply to Jean-Francois Nifenecker from comment #4)
> (In reply to V Stuart Foote from comment #2)
> > Another facet needing attention with the Font Replacment Table dialog is
> > what happens with Graphite or OpenType 'smart font' features. Both that they
> > are enabled, but also as passed into a replacement font.
> 
> Stuart, could you rephrase that? I don't understand what's the point with
> Graphite and OpenType fonts wrt the replacement table.

If font features are enabled (via the Graphite appended tag mechanism) are they
passed through to the replacement font? And what happens when the replacement
font has no support for a particular smart font feature?

Likewise, for the target font and replacement, should there be a difference
between the core font and a font with its features enabled.  IIUC currently we
only handle the core font as target and as replacement.

For example a text run in Writer in Time New Roman with Small Caps set with
:smcp flag. The flag can be added to the listbox entry for the target font, but
then the font will not be found.  While a replacement of Time New Roman with
:smcp set with Biolinum G will keep the :smcp feature formatting. But
replacement with Liberation Serif will not.

But this is an aside to what Jan-Marek is poking at here regards the GUI, with
the enabling check box being below the font target and replacement table. And
what difference between the apply 'Always' and 'Screen only' checkboxes.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

--- Comment #4 from Jean-Francois Nifenecker 
 ---
(In reply to V Stuart Foote from comment #2)
> Another facet needing attention with the Font Replacment Table dialog is
> what happens with Graphite or OpenType 'smart font' features. Both that they
> are enabled, but also as passed into a replacement font.

Stuart, could you rephrase that? I don't understand what's the point with
Graphite and OpenType fonts wrt the replacement table.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

Jan-Marek Glogowski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||6534,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||8865

--- Comment #3 from Jan-Marek Glogowski  ---
While writing my patch I found more problems.

- if I call toString() on an empty OUStringBuffer, LO crashes

Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x77f333a9 in rtl_uString_newFromStr_WithLength (ppThis=0x7f7ff0a0,
pCharStr=0x5ac25018 u"", nLen=0) at sal/rtl/strtmpl.cxx:1367
1367{
(gdb) bt 10
#0  0x77f333a9 in rtl_uString_newFromStr_WithLength
(ppThis=0x7f7ff0a0, pCharStr=0x5ac25018 u"", nLen=0) at
sal/rtl/strtmpl.cxx:1367
#1  0x7376cb3a in rtl::OUString::OUString (length=,
value=, this=0x7f7ff0a0) at include/rtl/ustring.hxx:289
#2  rtl::OUStringBuffer::toString (this=) at
include/rtl/ustrbuf.hxx:541
#3  Edit::GetText (this=) at vcl/source/control/edit.cxx:2580
#4  0x7376cb00 in Edit::GetText (this=) at
vcl/source/control/edit.cxx:2578
#5  0x73a4a575 in SalInstanceComboBoxWithEdit::get_active_text
(this=) at vcl/source/app/salvtables.cxx:6125
#6  0x7fffa7be5cba in SvxFontSubstTabPage::SelectHdl
(this=this@entry=0x5c054660, pWin=0x5c008fb8) at
cui/source/options/fontsubs.cxx:336
#7  0x7fffa7be58a8 in SvxFontSubstTabPage::CheckEnable
(this=this@entry=0x5c054660) at cui/source/options/fontsubs.cxx:396
#8  0x7fffa7be5c00 in SvxFontSubstTabPage::SelectHdl
(this=this@entry=0x5c054660, pWin=0x5c008fb8) at
cui/source/options/fontsubs.cxx:349
#9  0x7fffa7be58a8 in SvxFontSubstTabPage::CheckEnable
(this=this@entry=0x5c054660) at cui/source/options/fontsubs.cxx:396

I think OUStringBuffer::toString should work with empty strings.

- if I select a line, the first checkbox is toggled on every click (tdf#138865)
- the delete button always refers to the selection and has nothing to do with
that line
- you can add multiple substitution for the same font, which is a unexpected
- selecting multiple entries fills the combo boxes with the first selection

Some of this happens, because tdf#136534 didn't fix all of the wrong text
lookups.

Proposed patch: https://gerrit.libreoffice.org/c/core/+/107642

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

V Stuart Foote  changed:

   What|Removed |Added

 Blocks||71732, 103342

--- Comment #2 from V Stuart Foote  ---
Another facet needing attention with the Font Replacment Table dialog is what
happens with Graphite or OpenType 'smart font' features. Both that they are
enabled, but also as passed into a replacement font.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=71732
[Bug 71732] [META] Bugs related to text rendering, typography and font features
in LO
https://bugs.documentfoundation.org/show_bug.cgi?id=103342
[Bug 103342] [META] Font substitution bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 138857] Make the font replacement table easier to understand

2020-12-12 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=138857

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||vstuart.fo...@utsa.edu
   Keywords||needsUXEval

--- Comment #1 from V Stuart Foote  ---
+1

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs