On Sun, Apr 10, 2005 at 10:40:52PM +0200, Raphaël Enrici wrote:
> Ross Boylan wrote:
> > On Sun, Apr 10, 2005 at 09:01:32PM +0200, Raphaël Enrici wrote:
> > 
> >>Hello Ross,
> >>
> >>Ross Boylan wrote:
> >>>When viewing a table of data in the window that lets you edit the
> >>>data, not alll the characters are fully visible.  This is actually the
> >>>result of 3 different problems.
> >>>1. The headers are cut off vertically and horizontally.
> >>>2. The column widths are insufficient to show some of the text and date 
> >>>data.
> >>>3. The headers include the name of the field and, below it, the data
> >>>type.  I'm not sure if the latter should be displayed.  At any rate,
> >>>it is the cause of the vertical crowding.
> >>>On 2, the common interface in which double clicking on the column
> >>>boundary expands the column to sufficient width to display all
> >>>elements also does not work (though adding it is more of a wishlist
> >>>item).
> >>
> >>Can you please provide a snapshot (in particular concerning 1)? In fact
> > 
> > The attached snapshot shows all the problems.
> 
> Definitely yes! :)
So this is not the normal behavior?

> 
> Can you provide more details concerning your graphical environment
> please? kde|gnome|something else? fonts(type and size) used for your apps?

Using KDE, as current in testing:

ii  kdebase        3.3.2-1        KDE Base metapackage
ii  kdebase-bin    3.3.2-1        KDE Base (binaries)
ii  kdebase-data   3.3.2-1        KDE Base (shared data)
ii  kdebase-kio-pl 3.3.2-1        KDE I/O Slaves
ii  kdelibs        3.3.2-4        KDE core libraries metapackage
ii  kdelibs-bin    3.3.2-4.0.2    KDE core binaries
ii  kdelibs-data   3.3.2-4        KDE core shared data
ii  kdelibs3-doc   2.2.2-13.woody KDE core library documentation
ii  kdelibs4       3.3.2-4.0.2    KDE core libraries

Fonts have been an endless source of headaches for me on this machine,
though I recently discovered I had a syntax error in a fontconfig
file, and things have been better since then.

libwxgtk2.5.3 (-2).
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libesd0                  0.2.35-2        Enlightened Sound Daemon - Shared
ii  libexpat1                1.95.8-1        XML parsing C library - runtime li
ii  libfontconfig1           2.3.1-2         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libglib2.0-0             2.6.3-1         The GLib library of C routines
ii  libgtk2.0-0              2.6.2-4         The GTK+ graphical user interface
ii  libjpeg62                6b-9            The Independent JPEG Group's JPEG
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpango1.0-common       1.8.1-1         Modules and configuration files fo
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libtiff4                 3.7.2-1         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxft2                  2.1.2-6         FreeType-based font drawing librar
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  xlibmesa-gl [libgl1]     4.3.0.dfsg.1-10 Mesa 3D graphics library [XFree86]
ii  xlibmesa-glu [libglu1]   4.3.0.dfsg.1-10 Mesa OpenGL utility library [XFree
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

I'm not sure how to determine which fonts this app is using.  The
preferences, which I have not touched, show Sans 12 as the font, and
monospace 12 the font under query preferences.  It's not clear to me
these are relevant to the displayed grid; clearly it's using a bold
for the column headers.

Note I do have some truetype fonts in use.

XF86Config-4 excerpt
--------------------------------------------
Section "Files"
        #FontPath       "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these

        # next 2 lines at instruction of x-ttcidfont-conf 7/25/04
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
        FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

        FontPath        "/usr/local/share/fonts/TrueType"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection
---------------------------------

/etc/fonts/local.conf, which I think is used by libfontconfig1.
Note the addition of defoma and TrueType stuff.
--------------------------------------
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
  <include 
ignore_missing="yes">/var/lib/defoma/fontconfig.d/fonts.conf</include>
  <dir>/usr/local/share/fonts/TrueType</dir>

<!-- Uncomment below to enable bitmapped fonts -->
  <dir>/usr/X11R6/lib/X11/fonts</dir>

<!-- Uncomment below to enable subpixel rendering

  <match target="font">
    <test qual="all" name="rgba">
      <const>unknown</const>
    </test>
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
  </match>
-->
<!-- Uncomment below to enable the freetype autohinter module -->
  <match target="font">
    <edit name="autohint" mode="assign">
      <bool>true</bool>
    </edit>
  </match>

</fontconfig>
---------------------------------------------------

By the way, the error I used to have was to have an extra --> at the
end of the line "Uncomment below to enable subpixel rendering".  So I
had unmatched comment markers.

The included defoma configuration file ends with these lines:
--------------------------------------------
   <alias>
      <family>serif</family>
      <default><family>NimbusRomNo9L-Medi</family></default>
   </alias>
   <alias>
      <family>monospace</family>
      <default><family>LMTypewriter10</family></default>
   </alias>
   <alias>
      <family>sans-serif</family>
      <default><family>LMSans10-Regular</family></default>
   </alias>
-----------------------------------------------
They are probably relevant to the interpretation of the Sans and
monospace in the preferences of the app.

Final observation: KDE has some kind of magic it does that can affect
the fonts even of non-KDE apps.  I'm not sure if it's relevant to
commands launched from Konsole.  This problem looks the same whether I
launch pgadmin3 from Konsole or menu.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to