Fonts - bytecode interpreter is enabled

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Fonts - bytecode interpreter is enabled

Postby carlash » Jun 4th, '11, 03:32

Seems to me there should be an easier way to fix "ugly" fonts than manually editing a config file... I've done a clean install of Mageia 1 and noticed "ugly" fonts. Googled and found this bug report:

https://bugs.mageia.org/show_bug.cgi?id=175

Previously in Mandrivia 2010.1/.2 and earlier to prevent "ugly" fonts I added /lib64freetype.*plf/ to /etc/urpmi/skip.list file. Now in Mageia 1 it seems that it's necessary to edit or create ~/.fonts.conf file.

$ cat ~/.fonts.conf
Code: Select all
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="autohint">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>none</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintmedium</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>


Is there a better solution?
Last edited by doktor5000 on Apr 10th, '14, 22:20, edited 1 time in total.
Reason: added code tags
carlash
 
Posts: 3
Joined: Jun 4th, '11, 03:01

Re: Fonts - bytecode interpreter is enabled

Postby lilogrub » Jun 12th, '11, 20:56

I'm not sure what do you mean by "ugly fonts", but did you try changing font rendering in gconf-editor?

Section is / > desktop > gnome > font_rendering

Disabling hinting ("none" or "slight") works for me ;)
User avatar
lilogrub
 
Posts: 9
Joined: Jun 4th, '11, 19:13

Re: Fonts - bytecode interpreter is enabled

Postby David_Batson » Jul 22nd, '11, 03:48

I just installed lib64freetype6-2.4.4-5.1.mga1.tainted and enabled sub-pixel rendering RGB with hinting set at slight (in Configure Your Desktop > Application Appearance > Fonts). Using Force fonts DPI: 96 DPI.

What an improvement on my laptop! :mrgreen:
David_Batson
 
Posts: 128
Joined: May 1st, '11, 05:19

Re: Fonts - bytecode interpreter is enabled

Postby dglent » Apr 10th, '14, 22:12

I'd like to have this setting available and i make a little dialog to help to enable/disable autohint, and a rpm:
http://glenbox.free.fr/autohint-onoff/a ... noarch.rpm
(Can be install from Mageia 4 and later as it uses python3-qt4)
Last edited by dglent on Apr 12th, '14, 10:15, edited 1 time in total.
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby ozky » Apr 12th, '14, 09:53

There is missing requires in that package,python3-lxml.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Fonts - bytecode interpreter is enabled

Postby dglent » Apr 12th, '14, 10:15

ozky wrote:There is missing requires in that package,python3-lxml.


Thanks for spotting :)

http://glenbox.free.fr/autohint-onoff/a ... noarch.rpm
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby ozky » Apr 12th, '14, 11:39

It's working fine.
This why packages need testing. ;)
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Fonts - bytecode interpreter is enabled

Postby dglent » Apr 13th, '14, 06:43

ozky wrote:It's working fine.
This why packages need testing. ;)


You have absolutely right. They told me to fix one other thing, when the ~/.config/fontconfig folder was initially missing the dialogue freezed

http://glenbox.free.fr/autohint-onoff/a ... noarch.rpm
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby ozky » Apr 13th, '14, 11:57

Kde don't have that problem because kde fonts settings make that fonts.conf file automatically.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Fonts - bytecode interpreter is enabled

Postby dglent » Apr 18th, '14, 07:05

ozky wrote:Kde don't have that problem because kde fonts settings make that fonts.conf file automatically.


I deleted the fonts.conf and i have to enter to systemsettings>Look and appear>Fonts in order to create the file, but i didn't try a reboot to see if it is created at the login.

The rpm is imported in cauldron and the dialog supports translations.
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby dglent » Nov 4th, '14, 11:25

Add option to disable autohint in lxqt fonts configuration panel:
https://github.com/lxde/lxqt-config/pul ... -187605798
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby doktor5000 » Nov 4th, '14, 22:43

dglent wrote:Add option to disable autohint in lxqt fonts configuration panel:
https://github.com/lxde/lxqt-config/pul ... -187605798


Thanks for your work, just added https://github.com/lxde/lxqt-config/com ... 35e3.patch to our lxqt-config package.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Postby dglent » Nov 4th, '14, 23:01

Thanks !
Our lxqt in Mageia is cutting edge ;)


A screenshot:

Image
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby doktor5000 » Nov 4th, '14, 23:07

FWIW, if I mention you in the commit messages, is your nick okay or should I use your full name?
E.g. http://svnweb.mageia.org/packages?view= ... ion=794253
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Postby dglent » Nov 4th, '14, 23:11

It is ok for me with the nick, thank you.
User avatar
dglent
 
Posts: 186
Joined: Mar 30th, '11, 07:04
Location: Paris region, France

Re: Fonts - bytecode interpreter is enabled

Postby doktor5000 » Nov 4th, '14, 23:18

Just submitted to buildsystem, should hit the mirrors soon. If you have more stuff for LXQT, please ping me :D
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron