View previous topic :: View next topic |
Author |
Message |
bme n00b
Joined: 25 Nov 2003 Posts: 15
|
Posted: Thu Oct 14, 2004 7:26 pm Post subject: xorg 6.8.0-r1 and enlightenment |
|
|
I just emerged xorg-x11-6.8.0-r1 and enlightenment "works" but all the text in all the dialogs has become microscopic... Anyone know why and how to fix this? |
|
Back to top |
|
|
schnitter n00b
Joined: 18 Feb 2004 Posts: 2
|
Posted: Fri Oct 15, 2004 12:44 pm Post subject: |
|
|
This helped me: I switched to another theme |
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Fri Oct 15, 2004 8:14 pm Post subject: |
|
|
I have the same problem. Changing the theme did nothing to help. Even deleting the .enlightenment folder and starting Enlightenment new didn't work either. Even tried re-emerging Enlightenment, but that also doesn't fix the problem.
So, now I'm emerging KDE 3.3 .... wish E17 was out!! |
|
Back to top |
|
|
returnthis n00b
Joined: 17 Oct 2004 Posts: 10
|
Posted: Sun Oct 17, 2004 1:57 am Post subject: |
|
|
schnitter wrote: | This helped me: I switched to another theme :) |
This worked for me as well. After remerging E and trying all sorts of failed hacks, changing the theme did work.
An actual solution, instead of the this workaround would be much appreciated... |
|
Back to top |
|
|
ascl n00b
Joined: 18 Oct 2004 Posts: 4
|
Posted: Mon Oct 18, 2004 1:48 am Post subject: |
|
|
Hmmm, how did you change theme? I tried changing the DEFAULT link in /usr/share/enlightenment, but that didn't help.
A fix for this would be very handy.... unreadable menu text aint great.
EDIT: Hmmm, reading through some old mails one the enlightenment list gives this:
Quote: | -> Also a few bugs: If the font specified by a theme is not installed, it
-> doesn"t display text, making titles unreadable and menus unusable. X11
-> convention is to fall back to "fixed" or something in such cases.
yup - that"s right. fixed isnt always a soltuon as the size of the area
he font can be put in is very dependant ont he font size - titles arent
sized according to the font. E does nto follwo conventions - it breaks
them |
So, seems I'm likely missing some fonts.... although thought I'd installed all the available (english) ones. |
|
Back to top |
|
|
returnthis n00b
Joined: 17 Oct 2004 Posts: 10
|
Posted: Mon Oct 18, 2004 4:36 am Post subject: |
|
|
ascl wrote: | Hmmm, how did you change theme? I tried changing the DEFAULT link in /usr/share/enlightenment, but that didn't help. |
echo /usr/share/enlightenment/themes/BlueSteal > ~/.enlightenment/user_theme.cfg |
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Mon Oct 18, 2004 9:15 am Post subject: |
|
|
you can also modify the font sizes in your theme`s config files. (very easy IMO) _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Mon Oct 18, 2004 8:31 pm Post subject: |
|
|
OK ... changing the theme is PARTLY right ...
Seems there is a problem "finding' the Lucida font. So if you pick a theme using that font, you will get the whacky little menus.
Picking a theme that does NOT use the Lucida font will work as it's supposed to.
I have tested this thoroughly ... even to the point of completely removing XOrg and Enlightenment from my system and doing a fresh emerge.
Now, why the Lucida is missing ... I'm still working on that!! |
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Mon Oct 18, 2004 8:39 pm Post subject: |
|
|
the fonts that e`s themes use are in your_theme_dir/ttfonts
e doesn`t use the globally installed fonts (like your xorg`s or xfs`s ones) _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Mon Oct 18, 2004 8:57 pm Post subject: |
|
|
Interesting ... so why would emerging Xorg-6.8 break a theme?
Xorg wouldn't be updating any Enlightenment themes (or fonts) ... yet this is exactly what happened with my system. |
|
Back to top |
|
|
grzewho l33t
Joined: 31 Dec 2002 Posts: 626 Location: /home/g
|
Posted: Mon Oct 18, 2004 10:08 pm Post subject: |
|
|
I`m very sorry, but you are not right. Enlightenment 16 uses its own fonts and that is for sure. Dunno what happend to your fonts anyway _________________
Code: | USE="freedom -software_patents" emerge --deep --update world |
|
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Mon Oct 18, 2004 11:50 pm Post subject: |
|
|
You are misunderstanding what I said ... I said that an XOrg emerge would NOT be updating the Enlightenment fonts ... so it is a mystery as to why the theme would stop working.
XOrg 6.8 was the only package I updated on my system, so the Enlightenment theme/font problem is related to the XOrg 6.8 emerge (from XOrg 6.7).
And the /usr/share/enlightenment/themes/BrushedMetal-Tigert-xcursors/ttfonts directory from a fresh Enlightenment emerge is empty! (which is the default theme for Enlightenment)
The menustyles.cfg file for this theme has this entry:
__TCLASS __BGN
__NAME "MENU"
__JUSTIFICATION 0
__NORMAL "-*-lucida-medium-r-normal-*-*-100-*-*-p-*-iso8859-1"
__DRAWING_EFFECT __EFFECT_NONE
__FORGROUND_COLOR 0 0 0
__BACKGROUND_COLOR 0 0 0
__HILITED "-*-lucida-medium-r-normal-*-*-100-*-*-p-*-iso8859-1"
__DRAWING_EFFECT __EFFECT_SHADOW
So where does it get the fonts from, since the ttfonts directory is empty? Could there be a system font substitution going on in previous versions of X (Xfree86)? |
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Tue Oct 19, 2004 12:49 am Post subject: |
|
|
OK .. I just checked my home Gentoo system for comparison (still running XOrg 6.7.0).
Of the four installed Enlightenment themes, only BlueSteel and Ganymede have fonts installed in the ttfonts directory. I also checked several themes that I downloaded, and about 25% do NOT have fonts installed in the ttfonts directory (some don't even have a ttfonts directory!).
All of these themes DO work with XFree86 and XOrg 6.7.0-r1. However, the ones without theme fonts do not render the menus correctly with XOrg 6.8.0.
This does lead me to think that some type of system font substitution was occurring in the previous versions of X with the themes that do not include a font. |
|
Back to top |
|
|
Tamsco Guru
Joined: 04 Aug 2004 Posts: 313 Location: dmse.mit.edu
|
Posted: Tue Oct 19, 2004 1:09 am Post subject: |
|
|
Does anyone have a list of the lucida free themes. I know BlueSteel is, but are any of the other ones? Should I just stick with one font. _________________ If you get your problem solved put a [SOLVED] in the title!
Is OpenOffice still compiling?! |
|
Back to top |
|
|
ascl n00b
Joined: 18 Oct 2004 Posts: 4
|
Posted: Tue Oct 19, 2004 2:13 am Post subject: |
|
|
I'd prefer to know where I can grab the missing font. I am pretty sure that enlightenment will use X/system fonts. It may use its own fonts in preference, but it should grab the system fonts too. |
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Tue Oct 19, 2004 3:29 am Post subject: |
|
|
Yeah .. I haven't tried finding the lucida font yet. I'm now using the Arctic theme and like it (no lucida required).
ascl, to answer your earlier question about setting your default theme, just edit the $userhome/.enlightenment/user_theme.cfg file. Erase the existing entry and put in the name of the theme (same name as the /usr/share/enlightenment/themes/"theme_name" directory). So mine has a single line that says: arctic |
|
Back to top |
|
|
ascl n00b
Joined: 18 Oct 2004 Posts: 4
|
Posted: Tue Oct 19, 2004 3:51 am Post subject: |
|
|
Haven't tried this (at work atm) but the X de-uglification http://www.linux.com/howtos/FDU/end.shtml howto says that lucida can be acquired:
Quote: | And Lucida Sans Unicode, which is included in IBM's JDK 1.3.0beta for Linux, and covers Roman, Cyrillic, Greek, Hebrew, combining diacritical marks. This can be downloaded from ftp://ftp.maths.tcd.ie/Linux/opt/IBMJava2-13/jre/lib/fonts/ as LucidaSansRegular.ttf and LucidaSansOblique.ttf. |
I thought that ms core font pack might also include it.... but I thought I had that installed (perhaps I've messed the config up, I'll check that too).
Thanks for the replies people! |
|
Back to top |
|
|
fluzz n00b
Joined: 29 Aug 2004 Posts: 8 Location: uk
|
Posted: Tue Oct 19, 2004 5:32 pm Post subject: |
|
|
file not found
im having the same problems but which ever theme i use i still have no fonts |
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Tue Oct 19, 2004 6:57 pm Post subject: |
|
|
Fluzz,
try editing your ~/.enlightenment/user_theme.cfg file so that it says "BlueSteel" on the first line (and nothing else).
Then start Enlightenment and see if the menus are readable. The BlueSteel theme is one that is installed with Enlightenment and doesn't use the Lucida font.
If you are entering a theme name in the user_theme.cfg file that you haven't installed, you will get an error. |
|
Back to top |
|
|
BlakeJob Tux's lil' helper
Joined: 23 May 2004 Posts: 80
|
Posted: Wed Oct 20, 2004 11:17 pm Post subject: |
|
|
Anyone find a "real" solution to this? I just came across this problem as well |
|
Back to top |
|
|
hybridcargeek n00b
Joined: 12 Sep 2003 Posts: 18
|
Posted: Fri Oct 22, 2004 2:07 pm Post subject: true type fonts from jre |
|
|
A few posts ago asci suggested manually downloading the ttf files for lucida. Inspired by this comment I located the ttf files that were installed as a part of dev-java/blackdown-jre on my system. I copied the ttf files into /usr/X11R6/lib/X11/fonts/TTF and tried to swich back to my preferred enlightenment theme. No luck. Has anyone else had any luck with manually providing font files for lucida? |
|
Back to top |
|
|
GatorBait n00b
Joined: 15 Oct 2004 Posts: 19
|
Posted: Sat Oct 23, 2004 12:38 am Post subject: |
|
|
Have you tried copying the font files into the ttfonts directory?
(/usr/share/enlightenement/themes/"your_favorite_theme_name"/ttfonts)
I think that will be the first place most themes will look ... |
|
Back to top |
|
|
tomc4t n00b
Joined: 06 Jul 2003 Posts: 16
|
Posted: Mon Oct 25, 2004 1:06 am Post subject: |
|
|
Hey guys, i have the same problem with lucida...
Now is really late (3 AM) but tomorrow i will write a little HowTo to fix the problem and i will signal the "bug" at the ebuild maintener!
Pe patient, just 7 hours of sleep!! |
|
Back to top |
|
|
r0ot n00b
Joined: 25 Oct 2004 Posts: 3
|
Posted: Mon Oct 25, 2004 7:13 pm Post subject: |
|
|
I wish I knew about this thread earlier. Yesterday was my first time installing Enlightenment with the new Xorg 6.8, and that had me confused for hours on end until I figured out how to change themes. Anyway, I've been searching on the internet for this Lucida font, and it seems to be a commercial font that costs $$ to download. Can anybody with Xorg 6.7 find this particular Lucida font on their system?
Also, hybridcargeek: Did you copy *only* the TTF files? If I'm not mistaken, you need to run mkfontdir and mkfontscale under the new directory. |
|
Back to top |
|
|
tomc4t n00b
Joined: 06 Jul 2003 Posts: 16
|
Posted: Mon Oct 25, 2004 10:05 pm Post subject: |
|
|
My HOWTO:
Ok, the problem seems to be a resolved bug of 6.8 Xorg.
The bug is 1441 located at http://freedesktop.org/bugzilla/show_bug.cgi?id=1441
lucida fonts are not generated.
What to do:
emerge the packages for Xorg without compiling:
Code: | emerge --fetchonly xorg-x11 |
now we have to inject the right patch in the right place.
as root we download the patch and save in the right format for the ebuild:
Code: | wget http://freedesktop.org/bugzilla/attachment.cgi?id=959 -O 1441_all_6.8.0-Derived_font_not_generated.patch |
Now we have to add this file to the patch file that we already downloaded with the emerge:
Code: |
cd /usr/portage/distfiles
tar -xjf xorg-x11-6.8.0-patches-0.2.2.1.tar.bz2
cp /1441_all_6.8.0-Derived_font_not_generated.patch
cp /root/1441_all_6.8.0-Derived_font_not_generated.patch ./patch
|
note: substitute /root in the last line with the directory where you downloaded the file.
After we have to recompress the patch files:
Code: |
tar -cjvf xorg-x11-6.8.0-patches-0.2.2.1.tar.bz2 ./patch
|
now the final step: we have to refresh the MD5 hash in the ebuild file.
Code: |
md5sum xorg-x11-6.8.0-patches-0.2.2.1.tar.bz2
|
that's the new md5.
open with your favorite editor (vi / nano ... )
Code: |
nano /usr/portage/x11-base/xorg-x11/files/digest-xorg-x11-6.8.0-r1
|
and edit the line with the "xorg-x11-6.8.0-patches-0.2.2.1.tar.bz2" file: delete the "strange number" (the MD5 of the previus file) and write the new MD5 just calculated with md5sum.
now compile X:
that's all, after that the fonts will be there, no need to change themes, all themes avaliable!!
Please feedback any error in this post ! |
|
Back to top |
|
|
|