Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573318 - www-client/firefox-44.0 a problem with the display of Asian characters
Summary: www-client/firefox-44.0 a problem with the display of Asian characters
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 18:31 UTC by cronolio
Modified: 2017-08-28 06:53 UTC (History)
2 users (show)

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


Attachments
screenshot (asian charsets.png,70.77 KB, image/png)
2016-01-29 18:31 UTC, cronolio
Details
ff44-build.log (ff44-build.log.tar.gz,224.67 KB, application/x-gzip)
2016-01-30 14:48 UTC, cronolio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cronolio 2016-01-29 18:31:01 UTC
Created attachment 424176 [details]
screenshot

emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.21-r1, 4.2.6-gentoo x86_64)
=================================================================
System uname: Linux-4.2.6-gentoo-x86_64-Pentium-R-_Dual-Core_CPU_E6600_@_3.06GHz-with-gentoo-2.2
KiB Mem:     4045972 total,     97476 free
KiB Swap:    3145724 total,   2907368 free
Timestamp of repository gentoo: Fri, 29 Jan 2016 17:22:28 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /mnt/mirror/portage
    sync-type: git
    sync-uri: git://github.com/gentoo-mirror/gentoo
    priority: -1000

rion
    location: /var/lib/layman/rion
    sync-type: laymansync
    sync-uri: git://github.com/rion-overlay/rion-overlay.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

local-crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 9999

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -mssse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -mssse3 -fomit-frame-pointer"
DISTDIR="/mnt/mirror/gentoo-distfiles/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/mnt/mirror/gentoo-distfiles/package/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cue cxx dbus djvu dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac gdbm gif glamor gnome-keyring gstreamer gtk gtk3 gtkstyle iconv jpeg lcms libnotify lzma mad matroska mmx mmxext mng modplug modules mp3 mp4 mpeg multilib musepack mysqli natspec ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio rar readline sdl seccomp session spell sse sse2 sse3 ssl ssse3 startup-notification svg theora tiff truetype twolame udev udisks unicode upower usb v4l vaapi vdpau vorbis wavpack wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

[ebuild   R   ~] www-client/firefox-44.0::gentoo  USE="custom-optimization dbus ffmpeg gmp-autoupdate gstreamer gtk3 hwaccel jemalloc3 jit pulseaudio startup-notification system-icu system-jpeg system-libvpx -bindist -custom-cflags -debug -egl -gstreamer-0 -hardened (-neon) (-pgo) (-selinux) -system-cairo -system-libevent -system-sqlite {-test} -wifi" LINGUAS="ru -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW" 0 KiB
Comment 1 Ian Stakenvicius (RETIRED) gentoo-dev 2016-01-30 14:05:48 UTC
That looks like an incorrect and/or missing font issue for sure.

Was firefox-43 fine?
Comment 2 cronolio 2016-01-30 14:13:12 UTC
yes 43 is correct
change fonts and character sets in 44 do not help
Comment 3 cronolio 2016-01-30 14:48:47 UTC
Created attachment 424254 [details]
ff44-build.log
Comment 4 Ian Stakenvicius (RETIRED) gentoo-dev 2016-01-30 15:33:51 UTC
What asian font packages do you have installed?  Any or all of the following:


media-fonts/kochi-substitute (For Japanese)
media-fonts/arphicfonts (For Chinese)
media-fonts/baekmuk-fonts (For Korean)

If you don't have any of those try installing them.  I think that firefox-43 had one or more of these fonts embedded but at this point it doesn't look like they exist in the firefox-44 codebase right now.  I'll keep looking into it but emerging those packages helped for me.
Comment 5 cronolio 2016-01-30 16:20:20 UTC
yes after install font all work. thank you) 
it bad that they removed the built-in support cjk fonts
Comment 6 cronolio 2016-01-30 16:59:34 UTC
you add fonts as depend ?
Comment 7 cronolio 2016-01-30 17:29:52 UTC
media-fonts/bitstream-cyberbit that would be nice and 1 package
Comment 8 Arfrever Frehtes Taifersar Arahesis 2016-01-31 18:04:48 UTC
Is this bug reproducible when fonts mentioned above are not installed, but media-fonts/noto (which aims to support scripts for all languages) is installed?
Comment 9 cronolio 2016-01-31 18:29:19 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #8)
> Is this bug reproducible when fonts mentioned above are not installed, but
> media-fonts/noto (which aims to support scripts for all languages) is
> installed?

work correct
Comment 10 Ian Stakenvicius (RETIRED) gentoo-dev 2016-03-17 17:07:02 UTC
I had a discussion with the mozilla fonts guy -- the reason why these fonts stopped rendering seems to be because of an update to OTS , which made it be more strict on errors or issues in web fonts.  In firefox-43 and earlier it was the web fonts that were supporting the rendering of these characters, rather than something in firefox itself.

The actual fix is for the website to use fixed web fonts, however firefox will fallback to using system fonts if there is one that will render the characters properly.

I'm considering adding a dependency on media-fonts/noto anyways to cover all cases; what do people thing about this?
Comment 11 Arfrever Frehtes Taifersar Arahesis 2016-04-03 17:30:41 UTC
+1
Comment 12 cronolio 2016-04-03 17:51:04 UTC
I little no understand situation. Firefox throws from himself fonts and want to use the system fonts? 
Then gentoo need to add some nice fonts as dependence on nls/utf-8/X.
Vote from me to it)
Comment 13 Ian Stakenvicius (RETIRED) gentoo-dev 2016-04-04 14:02:54 UTC
(In reply to salikov.alexey from comment #12)
> I little no understand situation. Firefox throws from himself fonts and want
> to use the system fonts? 
> Then gentoo need to add some nice fonts as dependence on nls/utf-8/X.
> Vote from me to it)

The issue is that the websites themselves provide the fonts, normally, to firefox and other browsers.  BUT these fonts have errors, and firefox starting with v.44 became more strict about rejecting fonts that have errors in them (security and relates issues).  Firefox can use system fonts instead if the system fonts have support for these characters, though.
Comment 14 cronolio 2016-04-09 16:42:01 UTC
maybe it different bug, but i'm find interesting page http://mozilla.github.io/content/web-lit-whitepaper/ , where any text no visible. now i from www-client/firefox-bin-38.7.1::gentoo

it's "feature with fonts" now working for all new version ff (include esr branch)?
Comment 15 Jory A. Pratt gentoo-dev 2017-08-26 17:55:59 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team
Comment 16 Arfrever Frehtes Taifersar Arahesis 2017-08-28 06:53:54 UTC
Dependency on useful fonts is still not in ebuilds of www-client/firefox, but I think that users should be able to install appropriate fonts themselves.