Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#1063 closed defect (fixed)

Initial screen font does not match preferences

Reported by: michael.gerz@… Owned by: levon
Priority: high Milestone:
Component: frontend-qt2 Version: 1.4.0cvs
Severity: minor Keywords: patch VERIFIED
Cc:

Description

  1. Remove your .lyx directory
  2. Start LyX Qt 1.4.0cvs (as of 14 Apr 2003)
  3. Have a look a look at the font used in the 'welcome' file. (similiar or equal to Arial)
  4. Open "Preference..."
  5. Change "Roman:" font from "Bitstream Charter" to "Bitstream Charter" (i.e. no real change)
  6. Press "Apply"

=> the font looks different now

Attachments (2)

screenshots.tar (150.0 KB ) - added by michael.gerz@… 21 years ago.
Screenshots
a.diff (1.8 KB ) - added by levon 21 years ago.
possible fix

Download all attachments as: .zip

Change History (14)

comment:1 by levon, 21 years ago

screenshots please, contents of new preferences, contents of preferences
after apply in the dialog.

I assume you're not using fontconfig. what distro etc. etc. etc.

comment:2 by michael.gerz@…, 21 years ago

Fontconfig? Well, there is no such program on my SuSE 8.1 machine ... which
means that I probably do not use it.

But that again brings us back to our old discussion on mandatory and optional
external programs/TeX styles: aiksaurus, pspell, dvipost, fontconfig,
xforms, qt, preview-latex, ...

We definitely need a place (a dialog with dynamically created content?)
that tells the user

  • which external programs available and which are not
  • where to get a program from (URL)
  • which features are missing due to a missing external program

IMHO just disabling the features is not enough unless we accept that
some user will "die shortminded".

comment:3 by levon, 21 years ago

ldd lyx | grep fontconfig

and the rest please.

Please don't mutate the bug.

comment:4 by michael.gerz@…, 21 years ago

ldd lyx | grep fontconfig

=> no output :-(

Shall I add an "enhancement" report instead of mutating the bug report?

comment:5 by levon, 21 years ago

You already have a bug report elsewhere on advertising optional features.

Besides, fontconfig/xft2 is not an optional feature as such.

It would be really helpful if you could finish up doing what I asked :(

I'm building my Qt 2 build with current CVS now...

by michael.gerz@…, 21 years ago

Attachment: screenshots.tar added

Screenshots

comment:6 by michael.gerz@…, 21 years ago

Hmmpf, I forgot to tell you that I use qt 3.0.5 and Xfree 4.2...

schmitt@asterix:~> ldd /home/schmitt/Software/lyx-1.4.0cvs/bin/lyx

libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0x40025000)
libAiksaurus.so.0 => /home/schmitt/Software/lib/libAiksaurus.so.0

(0x40649000)

libbz2.so.1 => /usr/lib/libbz2.so.1 (0x40654000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40663000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4066c000)
libpspell.so.4 => /usr/lib/libpspell.so.4 (0x40684000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x4069d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40750000)
libm.so.6 => /lib/libm.so.6 (0x40758000)
libc.so.6 => /lib/libc.so.6 (0x4077b000)
libltdl.so.3 => /usr/lib/libltdl.so.3 (0x40899000)
libdl.so.2 => /lib/libdl.so.2 (0x408a0000)
libpspell-modules.so.1 => /usr/lib/libpspell-modules.so.1 (0x408a3000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x408a6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4099e000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x409b3000)
libz.so.1 => /lib/libz.so.1 (0x409e3000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x409f2000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40bbc000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40bd2000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40be0000)
libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x40be6000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40c11000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40c53000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40c5b000)

comment:7 by levon, 21 years ago

Confirmed with my Qt 2 build, we are somehow ending up with courier
for all three. I really hate QT.

by levon, 21 years ago

Attachment: a.diff added

possible fix

comment:8 by levon, 21 years ago

Keywords: patch added

This bug is a WONTFIX for Qt 2 (too much hassle to fix).

The attached patch may or may not fix your problem with
Qt 3. It should do. Please provide the -dbg font output
if it doesn't.

comment:9 by michael.gerz@…, 21 years ago

Congratulation!

Works perfectly. Please apply.

comment:10 by levon, 21 years ago

Resolution: fixed
Status: newclosed

It's broken on my machine.

I've just applied a different version, please check current CVS.

comment:11 by michael.gerz@…, 21 years ago

Applied fix works! Thanks.

comment:12 by levon, 21 years ago

Keywords: VERIFIED added

feel free to verify then. I'll do it this time :)

Note: See TracTickets for help on using tickets.