Bug#693989: /usr/bin/xcalc: buttons rendered incorrectly because non-existent font is selected

2012-11-22 Thread Michal Suchanek
Package: x11-apps
Version: 7.7~2
Severity: normal
File: /usr/bin/xcalc

Hello,

xcalc usees a specific font for the sqrt and pi buttons. This font does
not exist on my system. either xcalc should depend on whatever provides
it or use the existing font.

See the modified config file.

Changes -adobe-symbol-*-*-*-*-*-120-*-*-*-*-*-* to 
-*-*-*-*-*-*-*-120-*-*-*-*-adobe-symbol

Thanks

Michal

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (171, 'unstable'), (151, 'experimental'), (101, 
'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.7.0-rc3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-apps depends on:
ii  cpp  4:4.7.2-1
ii  libc62.13-37
ii  libpng12-0   1.2.49-1
ii  libsm6   2:1.2.1-2
ii  libx11-6 2:1.5.0-1
ii  libxaw7  2:1.0.10-2
ii  libxcursor1  1:1.1.13-1
ii  libxext6 2:1.3.1-2
ii  libxft2  2.3.1-1
ii  libxkbfile1  1:1.0.8-1
ii  libxmu6  2:1.1.1-1
ii  libxmuu1 2:1.1.1-1
ii  libxrender1  1:0.9.7-1
ii  libxt6   1:1.1.3-1

Versions of packages x11-apps recommends:
ii  xbitmaps  1.1.1-1

Versions of packages x11-apps suggests:
ii  mesa-utils  8.0.1-2+b3

-- Configuration Files:
/etc/X11/app-defaults/XCalc changed:
! XCalc application class resource file
XCalc.Title:Calculator
XCalc.IconName: Calc
XCalc.IconPixmap:   calculator
XCalc*Cursor:   hand2
XCalc*Font: 8x13
XCalc*ShapeStyle:   rectangle
XCalc*Command.horizDistance:2
XCalc*Command.vertDistance: 2
XCalc*Command.width:40
XCalc*Command.height:   26
XCalc*Command.internalWidth:1
XCalc*bevel.background: black
XCalc*bevel.horizDistance:  4
XCalc*bevel.vertDistance:   2
XCalc*bevel.screen.horizDistance:   6
XCalc*bevel.screen.vertDistance:2
XCalc*bevel.screen.defaultDistance: 0
XCalc*bevel.screen.Label.horizDistance: 4
XCalc*bevel.screen.Label.vertDistance:  2
XCalc*bevel.screen.Label.internalHeight:1
XCalc*bevel.screen.Label.internalWidth: 1
XCalc*bevel.screen.LCD.label:   888
XCalc*bevel.screen.LCD.fromHoriz:   M
XCalc*bevel.screen.LCD.horizDistance:   4
XCalc*bevel.screen.LCD.vertDistance:2
XCalc*bevel.screen.INV.fromVert:LCD
XCalc*bevel.screen.INV.vertDistance:4
XCalc*bevel.screen.DEG.fromHoriz:   INV
XCalc*bevel.screen.DEG.fromVert:LCD
XCalc*bevel.screen.DEG.horizDistance:   1
XCalc*bevel.screen.RAD.fromHoriz:   DEG
XCalc*bevel.screen.RAD.fromVert:LCD
XCalc*bevel.screen.GRAD.fromHoriz:  RAD
XCalc*bevel.screen.GRAD.fromVert:   LCD
XCalc*bevel.screen.P.label: ()
XCalc*bevel.screen.P.fromHoriz: GRAD
XCalc*bevel.screen.P.fromVert:  LCD
XCalc*bevel.screen.P.horizDistance: 2
!XCalc*ti.Geometry: 171x252
XCalc*ti.bevel.screen.LCD.width:186
XCalc*ti.bevel.screen.LCD.translations: #replace\n\
CtrlKeyc:quit()\n\
CtrlKeyh:clear()\n\
NoneKey0:digit(0)\n\
NoneKey1:digit(1)\n\
NoneKey2:digit(2)\n\
NoneKey3:digit(3)\n\
NoneKey4:digit(4)\n\
NoneKey5:digit(5)\n\
NoneKey6:digit(6)\n\
NoneKey7:digit(7)\n\
NoneKey8:digit(8)\n\
NoneKey9:digit(9)\n\
KeyKP_0:digit(0)\n\
KeyKP_1:digit(1)\n\
KeyKP_2:digit(2)\n\
KeyKP_3:digit(3)\n\
KeyKP_4:digit(4)\n\
KeyKP_5:digit(5)\n\
KeyKP_6:digit(6)\n\
KeyKP_7:digit(7)\n\
KeyKP_8:digit(8)\n\
KeyKP_9:digit(9)\n\
KeyKP_Enter:equal()\n\
KeyKP_Equal:equal()\n\
KeyKP_Multiply:multiply()\n\
KeyKP_Add:add()\n\
KeyKP_Subtract:subtract()\n\
KeyKP_Decimal:decimal()\n\
KeyKP_Separator:decimal()\n\
KeyKP_Divide:divide()\n\
KeyKP_Tab:equal()\n\
KeyClear:clear()\n\
:Key.:decimal()\n\
:Key+:add()\n\
:Key-:subtract()\n\
:Key*:multiply()\n\
:Key/:divide()\n\
:Key(:leftParen()\n\
:Key):rightParen()\n\
:Key!:factorial()\n\
Keye:e()\n\
:Key^:power()\n\
Keyp:pi()\n\
Keyi:inverse()\n\
Keys:sine()\n\
Keyc:cosine()\n\
Keyt:tangent()\n\
Keyd:degree()\n\
Keyl:naturalLog()\n\
:Key=:equal()\n\
Keyn:negate()\n\
Keyr:squareRoot()\n\
Keyspace:clear()\n\
Keyq:quit()\n\
KeyDelete:clear()\n\
KeyBackSpace:clear()\n\
Btn1Down,Btn1Up:toggle()selection()\n
XCalc*ti.button1.label: 1/x
XCalc*ti.button1.translations: #overrideBtn1Down,Btn1Up:reciprocal()unset()
XCalc*ti.button2.label: 

Bug#693989: /usr/bin/xcalc: buttons rendered incorrectly because non-existent font is selected

2012-11-22 Thread Julien Cristau
On Thu, Nov 22, 2012 at 17:10:14 +0100, Michal Suchanek wrote:

 Package: x11-apps
 Version: 7.7~2
 Severity: normal
 File: /usr/bin/xcalc
 
 Hello,
 
 xcalc usees a specific font for the sqrt and pi buttons. This font does
 not exist on my system. either xcalc should depend on whatever provides
 it or use the existing font.
 
It can't depend on that, since the X server may be on a different
machine than xcalc, and the font server on yet another machine.

Cheers,
Julien


signature.asc
Description: Digital signature