================================================================
Dear Bug Team!
my display is set to have dpi=115, X thinks it's ok
$ xrdb -symbols|grep RES
-DX_RESOLUTION=4531
-DY_RESOLUTION=4526
$
and i have set, just to be sure as in belt and suspenders,
Xft.dpi: 115
in my ~/.Xdefaults
how did it come that XEmacs initializes truetype fonts at 75 dpi?
for example: i have set in my .Xdefaults
XEmacs.default.attributeFont: mono:size=15:style=Roman
and this font is instantiated (?) like this (long line split)
initialized font Bitstream Vera Sans Mono-15:
familylang=en:
style=Roman:
stylelang=en:
slant=0:
weight=80:
pixelsize=15.625:
foundry=bitstream:
hintstyle=2:
outline=True:
scalable=True:
dpi=75:
fontformat=TrueType
what's funny it's that the fonts in the menubar and other widgets are
instantiated OK, e.g., sans:size=15 is instantiated at 24 pixel!
furthermore, i tried to specify explicitly dpi in the font
specification, like in:
XEmacs.default.attributeFont: mono:dpi=115:size=15:style=Roman
but fonts derived from the default are, again, instantiated against a
dpi=75 and as such they're much smaller than i intended
thank you,
gb
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux boffi95 2.6.7-1-386 #1 Thu Jul 8 05:08:04 EDT 2004 i686 GNU/Linux
.../configure '--disable-sound' '--disable-error-checking'
'--disable-assertions' '--disable-kkcc' '--disable-mc-alloc'
'--enable-assertions' '--enable-bignum=gmp'
'--enable-database=berkdb' '--enable-debug'
'--enable-dialogs=lucid' '--enable-error-checking=all'
'--enable-memory-usage-stats' '--enable-menubars=lucid'
'--enable-modules' '--enable-mule' '--enable-pdump'
'--enable-scrollbars=lucid' '--enable-widgets=athena'
'--with-athena=3d' '--with-optimization=yes' '--with-rel-alloc'
'--with-xft=all' '--with-xim=xlib' '--with-zlib'
XEmacs 21.5-b22 "cucumber" (+Xft+CVS-20050922) configured for
`i686-pc-linux'.
Compilation Environment and Installation Defaults:
Source code location: /home/boffi/src/xemacs-21.5_xft
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: gcc (GCC) 4.0.2 (Debian 4.0.1-9)
- GCC specs file: specs.
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wunused-parameter -g -O3
libc version: GNU libc 2.3.5-6 (Debian)
Relocating allocator for buffers: yes
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
- Using Xft to render antialiased fonts in menubars.
WARNING: This feature will be replaced with a face.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
- Using Xft to render antialiased fonts in tab controls.
WARNING: This feature will be replaced with a face.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This feature will be replaced with a face.
WARNING: This feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Databases:
Compiling in support for Berkeley database.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Compiling in support for runtime error checking.
WARNING: ---------------------------------------------------------
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Load-Path Lisp Shadows:
----------------------
(/home/boffi/lib/emacs/info-look
/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/info-look
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/ethio-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/china-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/china-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/japan-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/korea-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/cyril-util
/usr/local/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/usr/local/lib/xemacs-21.5-b22/lisp/mule/viet-util
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/local/lib/xemacs-21.5-b22/lisp/easy-mmode
/usr/local/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
/usr/local/lib/xemacs-21.5-b22/lisp/unicode
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/local/lib/xemacs-21.5-b22/lisp/regexp-opt)
Installed XEmacs Packages:
-------------------------
(xwem ver: 1.21 upstream: lg(a)xwem.org--2005/xwem--main--2.1--versionfix-1)
(xlib ver: 1.14 upstream: lg(a)xwem.org--2005/xlib--main--2.1--version-0)
(xemacs-devel ver: 1.71 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.98 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(vm ver: 7.22 upstream: 7.17)
(tramp ver: 1.26 upstream: 2.0.50)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.89 upstream: No-Upstream-Ver)
(texinfo ver: 1.29 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(sh-script ver: 1.18 upstream: 2.0e)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.15 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.05 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.08 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(os-utils ver: 1.36 upstream: No-Upstream-Ver)
(net-utils ver: 1.46 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.73 upstream: No-Upstream-Ver)
(ispell ver: 1.31 upstream: 3.6)
(igrep ver: 1.13 upstream: 2.111)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hm--html-menus ver: 1.23 upstream: 5.9)
(gnus ver: 1.85 upstream: 5.10.7)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(footnote ver: 1.16 upstream: 0.18x)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.25 upstream: No-Upstream-Ver)
(ediff ver: 1.55 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(bbdb ver: 1.28 upstream: 2.34)
(auctex ver: 2005.0925 upstream: 11.81)
(mule-ucs ver: 1.14 upstream: 0.84)
(mule-base ver: 1.47 upstream: No-Upstream-Ver)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.15 upstream: 1.15)
(latin-euro-standards ver: 1.07 upstream: 1.07)
Installed Modules:
-----------------
Features:
--------
(calc-macs calc-ext calc vm-undo ehelp electric mail-abbrevs vm-menu
vm-reply vm-misc vm-summary vm-mouse vm-window vm-autoload vm-vars
vm-version vm vm-startup xemacsbug shadow sendmail rfc822 gnuserv
paren blink-paren func-menu bbdb regexp-opt timezone jka-compr ipython
advice advice-preload python-mode info-look info compile ansi-color
executable shell slime byte-optimize bytecomp byte-compile tree-widget
wid-edit apropos edmacro timer-funcs overlay font-lock cus-face
hyperspec thingatpt browse-url hideshow pp timer comint ring smiley
annotations messagexmas nnheader nnheaderxm gnus-util netrc time-date
parse-time mm-util mail-prsvr mail-utils x-compose filladapt
image-mode view-less view mwheel xwem-autoloads xlib-autoloads
xemacs-devel-autoloads xemacs-base-autoloads x-symbol-autoloads
vm-autoloads tramp-autoloads time-autoloads textools-autoloads
text-modes-autoloads texinfo-autoloads supercite-autoloads
sh-script-autoloads scheme-autoloads sasl-autoloads
ruby-modes-autoloads reftex-autoloads python-modes-autoloads
psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads os-utils-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mailcrypt-autoloads
mail-lib-autoloads ispell-autoloads igrep-autoloads ibuffer-autoloads
hm--html-menus-autoloads gnus-autoloads general-docs-autoloads
fsf-compat-autoloads fortran-modes-autoloads footnote-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads dired-autoloads dictionary-autoloads
debug-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads bbdb-autoloads tex-site
auctex-autoloads mule-ucs-autoloads mule-base-autoloads leim-autoloads
latin-unity-autoloads latin-euro-standards-autoloads modules-autoloads
mule-autoloads auto-autoloads loadhist rsz-minibuf auto-show
fontl-hooks canna-leim tibetan lao devanagari indian slovenian czech
romanian ccl code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode iso8859-1 page buff-menu lib-complete cus-file derived
newcomment env text-props fontconfig frame obsolete cus-start custom
widget cl-extra cl cl-19 packages backquote unicode xft
lucid-scrollbars cut-buffer xft-fonts lucid-menubars athena-dialogs x
c-balloon-help tty-frames tty toolbar scrollbar unix-processes
multicast network-streams subprocesses bigfloat ratio bignum
number-types modules menu-accelerator-support menubar berkeley-db md5
xemacs xim mule gutter tiff png gif jpeg xface xpm xbm lisp-float-type
file-coding linux dialog devices window-system base64)
Recent keystrokes:
-----------------
' d SPC l i k e SPC t o SPC r e BS e p o r t SPC w
h a t SPC i s SPC a SPC s o r t SPC o f SPC i n c o
n v e n i e n c e : RET RET i f SPC i SPC r BS BS BS
BS BS BS button2 button2up C-a button1 button1up right
down up w h e n BS BS BS BS C-x k RET C-x k RET M-x
r e p o SPC r SPC x SPC SPC RET
Recent messages (most recent first):
-----------------------------------
Working...
Loading calc-misc...done
Loading calc-misc...
Working...
Loading calc-frac...done
Loading calc-frac...
Loading calc-ext...done
Loading calc-ext...
Working...
Making completion list...
Buffer is read-only: #<buffer "*Bug Help*">
Loading vm-undo...done
Loading vm-undo...
Type M-x mail-send-and-exit to send the bug report, C-x k to cancel.
space = page forward; b = page back; h = help; q = quit.
Loading ehelp...done
Loading ehelp...
Parsing /home/boffi/.mailrc... done
Parsing /home/boffi/.mailrc...
Loading mail-abbrevs...done