Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773553 - app-text/mupdf-1.18.0-r3: can't use diacritics in search bar with USE=-opengl
Summary: app-text/mupdf-1.18.0-r3: can't use diacritics in search bar with USE=-opengl
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-01 10:41 UTC by sphakka
Modified: 2021-06-12 13:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge-info.mupdf-1.18.0-r3.txt,7.35 KB, text/plain)
2021-03-01 10:41 UTC, sphakka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sphakka 2021-03-01 10:41:41 UTC
Created attachment 688869 [details]
emerge info

I'm unable to use diacritics in mupdf's search bar, i.e., only plain ASCII characters are available. 

1. Open a PDF file in a language with diacritics
2. Start searching with '/'
3. Type some diacritics in the search bar, like à, û, etc.

Actual Result:

  No diacritic shown in the search bar.

Expected result:

  Diacritics like à, û, appear in the search bar.

Also, compose doesn't work in the search bar.

My keyboard is on:

  "xkb_layout" "ch"
  "xkb_variant" "fr"

And:

$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME=en_DK.UTF-8
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT=en_DK.UTF-8
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
Comment 1 Jonas Stein gentoo-dev 2021-03-01 22:34:26 UTC
It works for me in app-text/mupdf-1.18.0-r3
I do not think that the problem is the locale

$ locale
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME=en_DK.utf8
LC_COLLATE="en_GB.utf8"
LC_MONETARY="en_GB.utf8"
LC_MESSAGES=en_GB.utf8
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

Could you recompile mupdf and all its dependencies?
Comment 2 sphakka 2021-03-08 11:29:11 UTC
I found the reason, my mupdf was built without opengl support. Enabling it, provides a different search bar where diacritics are accepted. 

So, the workaround is USE=opengl. I guess that's handled by freeglut.

I'd say the bug is still valid -- didn't find any upstream info.