[kompare] [Bug 329912] New: No underscore w/ font "DejaVu Sans Mono 10pt"

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] New: No underscore w/ font "DejaVu Sans Mono 10pt"

nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

            Bug ID: 329912
           Summary: No underscore w/ font "DejaVu Sans Mono 10pt"
    Classification: Unclassified
           Product: kompare
           Version: unspecified
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]

Created attachment 84615
  --> https://bugs.kde.org/attachment.cgi?id=84615&action=edit
A patch for testing

This happens under KDE 4.12.0. Kompare does not show any underscores in 10pt,
or underscores in diff-ed lines in other font size.

$ eselect fontconfig list
Available fontconfig .conf files (* is enabled):                                
  [1]   10-autohint.conf                                                        
  [2]   10-no-sub-pixel.conf                                                    
  [3]   10-scale-bitmap-fonts.conf *                                            
  [4]   10-sub-pixel-bgr.conf                                                  
  [5]   10-sub-pixel-rgb.conf *                                                
  [6]   10-sub-pixel-vbgr.conf                                                  
  [7]   10-sub-pixel-vrgb.conf                                                  
  [8]   10-unhinted.conf
  [9]   11-lcdfilter-default.conf *
  [10]  11-lcdfilter-legacy.conf
  [11]  11-lcdfilter-light.conf
  [12]  20-unhint-small-dejavu-sans.conf
  [13]  20-unhint-small-dejavu-sans-mono.conf
  [14]  20-unhint-small-dejavu-serif.conf
  [15]  20-unhint-small-vera.conf
  [16]  25-ttf-arphic-ukai-render.conf *
  [17]  25-ttf-arphic-uming-bitmaps.conf
  [18]  25-ttf-arphic-uming-render.conf *
  [19]  25-unhint-nonlatin.conf
  [20]  30-metric-aliases.conf *
  [21]  30-urw-aliases.conf *
  [22]  35-ttf-arphic-ukai-aliases.conf *
  [23]  35-ttf-arphic-uming-aliases.conf *
  [24]  40-nonlatin.conf *
  [25]  41-ttf-arphic-ukai.conf
  [26]  41-ttf-arphic-uming.conf
  [27]  45-latin.conf *
  [28]  49-sansserif.conf *
  [29]  50-user.conf *
  [30]  51-local.conf *
  [31]  57-dejavu-sans.conf *
  [32]  57-dejavu-sans-mono.conf *
  [33]  57-dejavu-serif.conf *
  [34]  59-google-droid-sans.conf *
  [35]  59-google-droid-sans-mono.conf *
  [36]  59-google-droid-serif.conf *
  [37]  60-latin.conf *
  [38]  60-liberation.conf
  [39]  64-ttf-arphic-uming.conf
  [40]  65-fonts-persian.conf *
  [41]  65-khmer.conf
  [42]  65-nonlatin.conf *
  [43]  69-unifont.conf *
  [44]  70-no-bitmaps.conf *
  [45]  70-yes-bitmaps.conf
  [46]  75-ttf-arphic-ukai-select.conf
  [47]  80-delicious.conf *
  [48]  90-synthetic.conf *
  [49]  90-ttf-arphic-ukai-embolden.conf *
  [50]  90-ttf-arphic-uming-embolden.conf *
  [51]  99pdftoopvp.conf

$ emerge --info
Portage 2.2.8 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.12.6-hardened-r4
x86_64)
=================================================================
System uname:
Linux-3.12.6-hardened-r4-N7EI-2013A1-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3965532 total,     50944 free
KiB Swap:    2974148 total,   2943080 free
Timestamp of tree: Sun, 12 Jan 2014 08:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r1
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/cache/dist"
EMERGE_DEFAULT_OPTS="--quiet --with-bdeps=y"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs
unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
INSTALL_MASK=" /lib64/systemd /usr/lib64/systemd /lib/systemd /usr/lib/systemd"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/lib/pkg"
PORTAGE_COMPRESS=""
PORTAGE_COMPRESS_FLAGS=""
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"
PORTDIR="/var/repo/gentoo"
PORTDIR_OVERLAY="/var/repo/local"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi amd64 avahi avx bash-completion berkdb
bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups
cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox
flac fortran gdbm gif gpm hardened iconv icu inotify ipv6 jpeg jpeg2k justify
kde kipi lcms ldap libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg
mudflap multilib mysql ncurses networkmanager nls nptl ogg opengl openmp pam
pango pax_kernel pcre pdf phonon plasma png policykit ppds pulseaudio
qt3support qt4 quota readline samba sdl semantic-desktop session skey spell sse
sse2 sse4_1 ssl ssse3 startup-notification svg syslog taglib tcpd tiff truetype
udev udisks unicode upower urandom usb v4l vaapi vdpau vorbis wxwidgets x264
xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32 64"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x
ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
trident usb-audio via82xx via82xx-modem ymfpci" 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" 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" DRACUT_MODULES="btrfs crypt crypt-gpg plymouth syslog" 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="efi-64 pc"
INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="zh_TW
zh en_GB en af af_ZA ak am ar ar_SA ar_SY as as_IN ast az be be_BY bg bg_BG bn
bn_BD bn_IN bo br brx bs ca ca_ES ca_XV ca@valencia crh cs cs_CZ csb cy da de
de_DE de_FR dgo dz ee el el_GR en_AU en_CA en_US en_ZA eo es es_AR es_CL es_CO
es_CR es_ES es_LA es_MX es_VE et et_EE eu eu_ES fa fa_IR fi fi_FI fil fo fr
fr_CA fr_FR fy fy_NL ga ga_IE gd gl gu gu_IN he he_IL hi hi_IN hne hr hsb ht hu
hu_HU hy hy_AM ia id id_ID is it it_IT ja ja_JP jv ka ka_GE kk km kn kn_IN ko
ko_KR kok ks ku ky la lb lg lo lt lt_LT lv lv_LV mai me mk ml ml_IN mn mni mr
mr_IN ms ms_MY mt my nan nb nb_NO nds ne nl nl_BE nl_NL nn nn_NO no nr ns nso
oc om or or_IN pa pa_IN pap pl pl_PL ps pt pt_BR pt_PT rm ro ro_RO ru ru_RU rw
sa_IN sat sco sd se sh sh_YU son si si_LK sk sk_SK sl sl_SI sq sr sr@ijekavian
sr@ijekavianlatin sr@latin sr@Latn sr_BA sr_CS sr_RS sr_RS@cyrillic sr_RS@latin
ss st sv sv_SE sw sw_TZ ta ta_IN ta_LK te te_IN tg tg_TJ th th_TH ti ti_ER tk
tl tn tr ts tt ug uk uk_UA ur ur_IN ur_PK uz uz@cyrillic ve vi vi_VN wa xh yi
zh_CN zh_HK zu" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3"
QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU"
VIDEO_CARDS="fglrx intel" 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:  CPPFLAGS, CTARGET, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND,
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Seems part of patched codes from Bug #234291 have been changed.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

--- Comment #1 from [hidden email] ---
Created attachment 84616
  --> https://bugs.kde.org/attachment.cgi?id=84616&action=edit
8pt screenshot

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

nocte107
In reply to this post by nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

--- Comment #2 from [hidden email] ---
Created attachment 84617
  --> https://bugs.kde.org/attachment.cgi?id=84617&action=edit
10pt screenshot

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

nocte107
In reply to this post by nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

--- Comment #3 from [hidden email] ---
Created attachment 84618
  --> https://bugs.kde.org/attachment.cgi?id=84618&action=edit
12pt screenshot

All these screenshots are produced by setting the font size, closing the
Kompare and reopening again.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

James Baxter
In reply to this post by nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

David Korth <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from David Korth <[hidden email]> ---
I've been encountering this problem for quite some time on any program that
uses the KDE text editor widget. (KWrite, Kate, KDevelop, etc.) When using
DejaVu Sans Mono, 10pt, underscores don't render for normal text. They *do*
render if the text is bold.

Version information:
- KWrite version 4.14.7
- Using KDE development platform 4.14.12

Interestingly, Qt Designer does NOT show this problem. Underscores render
perfectly for DejaVu Sans Mono 10pt.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kompare-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/kompare-devel
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

James Baxter
In reply to this post by nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

--- Comment #5 from David Korth <[hidden email]> ---
This was happening to me for quite a while on my old system, starting with at
least KDE 4.12. On my new system, I installed KDE/Plasma 5 and the problem went
away for a while.

...then I manually changed the font DPI from 96 to 100. Underscores no longer
show up in KWrite with DejaVu Sans Mono 10pt.

System: KDE Frameworks 5.25 with Plasma Desktop 5.7.3
Underscores do not show up in KWrite or Kate when using the DejaVu Sans Mono
10pt font at 100dpi, but they do show up in Qt Designer (both 4 and 5).

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[kompare] [Bug 329912] No underscore w/ font "DejaVu Sans Mono 10pt"

James Baxter
In reply to this post by nocte107
https://bugs.kde.org/show_bug.cgi?id=329912

--- Comment #6 from David Korth <[hidden email]> ---
After doing some more testing, I found that changing the anti-aliasing hinting
style to anything other than "slight" fixes it.

I changed it to "full" on my local system, which makes the fonts appear
"sharper" and fixes the underscore issue. I'm still thinking that something's
wrong with KTextEditor, but this at least is a usable workaround.

--
You are receiving this mail because:
You are the assignee for the bug.