Discussion:
[gs-bugs] [Bug 698803] - MuPDF - search regression: cannot search for α in mupdf-gl
b***@artifex.com
2017-12-08 10:30:08 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

Bug ID: 698803
Summary: search regression: cannot search for α in mupdf-gl
Product: MuPDF
Version: 1.12
Hardware: PC
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P4
Component: mupdf
Assignee: mupdf-***@artifex.com
Reporter: ***@pragmata.tk
QA Contact: gs-***@ghostscript.com
Word Size: ---

Tor,

this bug is related to bug #693724 and bug #697807, but I think this is a new
one.

In mupdf-1.12-rc1, α cannot be longer searched in mupdf-gl (it isn’t being
displayed). This is a regression from mupdf-gl in version 1.11 and it happens
both in Windows and Linux. This may be related to the replacement of GLFW with
FreeGlut.

In Linux only, another regression is that it is impossible to compose
diacritics plus searching (instead of "á", you get only "´a").

Could the issues be fixed for stable 1.12?

Many thanks for your help,

Pablo
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-08 10:57:01 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

Tor Andersson <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@artifex.com

--- Comment #1 from Tor Andersson <***@artifex.com> ---
Are you building against the system freeglut, or the one that we include in our
thirdparty git submodule / source archive directory?

If the former, then that's your problem. You NEED to use our included FreeGLUT
in order for non-ascii input to work.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-08 11:27:32 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #2 from Pablo Rodríguez <***@pragmata.tk> ---
(In reply to Tor Andersson from comment #1)
Post by b***@artifex.com
Are you building against the system freeglut, or the one that we include in
our thirdparty git submodule / source archive directory?
If the former, then that's your problem. You NEED to use our included
FreeGLUT in order for non-ascii input to work.
I got the Windows binaries from https://mupdf.com/downloads/.

And with those binaries, α cannot be searched for.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-09 21:02:12 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #3 from Tor Andersson <***@artifex.com> ---
Can you please attach the document with the 'α' that cannot be found?
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-10 11:11:55 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #4 from Pablo Rodríguez <***@pragmata.tk> ---
Created attachment 14517
--> http://bugs.ghostscript.com/attachment.cgi?id=14517&action=edit
Uncompressed PDF document containing "α"

(In reply to Tor Andersson from comment #3)
Post by b***@artifex.com
Can you please attach the document with the 'α' that cannot be found?
Here you have it.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-10 11:26:55 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #5 from Pablo Rodríguez <***@pragmata.tk> ---
Created attachment 14518
--> http://bugs.ghostscript.com/attachment.cgi?id=14518&action=edit
mupdf-gl-1.12-rc1 getting "a" instead of "α"

BTW, I didn‘t attach the document before, because it is a question of the
viewer (with evince, Acrobat and mupdf-gl-1.11, it worked fine).

With mupdf-gl-1.12-rc1, when I type "α", I get an "a" (so the character to be
searched is totally different). This happens both in Windows 10 and in Wine.

With mupdf-gl-1.11, when I type "α", I get an "α" and this character can be
found. This happens in both Windows 10 and Wine.

I attach the screenshots.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-10 11:27:32 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #6 from Pablo Rodríguez <***@pragmata.tk> ---
Created attachment 14519
--> http://bugs.ghostscript.com/attachment.cgi?id=14519&action=edit
mupdf-gl-1.11 getting "α"
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-10 11:28:08 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

--- Comment #7 from Pablo Rodríguez <***@pragmata.tk> ---
Created attachment 14520
--> http://bugs.ghostscript.com/attachment.cgi?id=14520&action=edit
mupdf-gl-1.11 finds "α"
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-13 14:21:16 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

Tor Andersson <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|search regression: cannot |Cannot enter "α" character
|search for α in mupdf-gl |in mupdf-gl search box.
--
You are receiving this mail because:
You are the QA Contact for the bug.
b***@artifex.com
2017-12-13 14:22:29 UTC
Permalink
http://bugs.ghostscript.com/show_bug.cgi?id=698803

Tor Andersson <***@artifex.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED

--- Comment #8 from Tor Andersson <***@artifex.com> ---
Oh, so you mean you can't *type* the alpha character into the search box in
mupdf-gl...

That was an issue with FreeGLUT and how it handled keyboard input that meant
dead keys weren't being processed properly.

Fixed in commit 26006b55f02c8d0a4a90ffedb45f724798052ef2
Author: Tor Andersson <***@artifex.com>
Date: Wed Dec 13 14:19:00 2017 +0100

Import FreeGLUT fixes for clipboard and unicode input.

Fixes issues with dead keys in unicode input.
--
You are receiving this mail because:
You are the QA Contact for the bug.
Loading...