[Bug 259718] New: Sub-pixel antialising does not work when set from KDE Control Center
https://bugzilla.novell.com/show_bug.cgi?id=259718 Summary: Sub-pixel antialising does not work when set from KDE Control Center Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: jdluhos@novell.com QAContact: sndirsch@novell.com Setting sub-pixel font antialiasing in KDE Control Center has no effect at all. The setting gets correctly written to ~/.fonts.conf, but the renderer does not honor it and behaves as if sub-pixel antialiasing was always off. I think there is some setting in system fontconfig which overrides the user setting. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 sndirsch@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|sndirsch@novell.com |mfabian@novell.com Component|X.Org |X11 Applications -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cfarrell@novell.com, jw@novell.com ------- Comment #1 from mfabian@novell.com 2007-04-02 03:30 MST ------- No, this has nothing to do with fontconfig. The reason is that sub-pixel hinting is not compiled into freetype2. See the freetype2.spec file: %define enable_subpixel_rendering 0 Set this to 1 and rebuild the freetype2 package if you want sub-pixel hinting. The reason why it is not enabled can be seen in include/freetype/config/ftoption.h: /*************************************************************************/ /* */ /* Uncomment the line below if you want to activate sub-pixel rendering */ /* (a.k.a. LCD rendering, or ClearType) in this build of the library. */ /* */ /* Note that this feature is covered by several Microsoft patents */ /* and should not be activated in any default build of the library. */ /* */ /* This macro has no impact on the FreeType API, only on its */ /* _implementation_. For example, using FT_RENDER_MODE_LCD when calling */ /* FT_Render_Glyph still generates a bitmap that is 3 times larger than */ /* the original size; the difference will be that each triplet of */ /* subpixels has R=G=B. */ /* */ /* This is done to allow FreeType clients to run unmodified, forcing */ /* them to display normal gray-level anti-aliased glyphs. */ /* */ /* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ If sub-pixel rendering is not compiled into freetype2, the results you get when you enable or disable sub-pixel hinting in the runtime configuration (fontconfig) are identical. I cannot do anything about this now → WONTFIX. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #2 from mfabian@novell.com 2007-04-02 03:33 MST ------- WONTFIX. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 jdluhos@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | ------- Comment #3 from jdluhos@novell.com 2007-04-02 07:30 MST ------- In this case, we should probably disable this option in the KDE Control Center, and probably also write an explanation of why it is so in the help or on www.opensuse.org, otherwise we will receive this bug report again and again :-( What do you think about this? Reopening just for getting comments about this (we should probably redirect this to the KDE team if we decide to disable the appropriate option). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #4 from mfabian@novell.com 2007-04-02 07:56 MST ------- Jiri Dluhos> In this case, we should probably disable this option in Jiri Dluhos> the KDE Control Center, I don't think this is a good idea because that disables this option also for the users who recompile freetype2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #5 from mfabian@novell.com 2007-04-02 08:01 MST ------- Jiri Dluhos> and probably also write an explanation of why it is so in Jiri Dluhos> the help or on www.opensuse.org, otherwise we will Jiri Dluhos> receive this bug report again and again :-( Better documenting this is probably useful if we believe that the current situation will not change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #7 from jw@novell.com 2007-04-02 08:32 MST ------- Not a legal issue. I cannot see any risk carrying suggestions here. KDE Control Center should either a) know if subpixel rendering is available (and behave accordingly) or b) tell the user that it does not know that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #11 from mfabian@novell.com 2007-04-03 11:51 MST ------- Created an attachment (id=128689) --> (https://bugzilla.novell.com/attachment.cgi?id=128689&action=view) freetype2-subpixel-available-p.c A small demo program to test whether the freetype2 library was compiled with or without subpixel rendering. Compile with: gcc -g -O0 -Wall -o freetype2-subpixel-available-p freetype2-subpixel-available-p.c $(shell pkg-config --cflags freetype2) $(shell pkg-config --libs freetype2) Prints mfabian@magellan:~/c$ ./freetype2-subpixel-available-p subpixel rendering available mfabian@magellan:~/c$ or mfabian@magellan:~/c$ ./freetype2-subpixel-available-p subpixel rendering not available mfabian@magellan:~/c$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #12 from mfabian@novell.com 2007-04-03 11:54 MST ------- The test FT_Err_Unimplemented_Feature == FT_Library_SetLcdFilter(ftLibrary, FT_LCD_FILTER_DEFAULT ) from the attached demo program can probably be used in kcontrol to check whether subpixel rendering is available and if not disable (gray out) the subpixel features and display a comment "subpixel rendering not available in freetype2" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 mfabian@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mfabian@novell.com |kde-maintainers@suse.de Status|REOPENED |NEW ------- Comment #13 from mfabian@novell.com 2007-04-03 11:55 MST ------- Reassign to kde-maintainers@suse.de. Can you please check wether this is possible to implement in kcontrol? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #14 from llunak@novell.com 2007-04-04 04:15 MST ------- Created an attachment (id=128851) --> (https://bugzilla.novell.com/attachment.cgi?id=128851&action=view) kdebase3 patch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #15 from admin@eregion.de 2007-04-10 07:35 MST ------- just one curious question. isn't the problem with some stuff about subpixel rendering being covered by microsoft-held patents a moot point? I mean, things like that are what the novell-microsoft deal was about, aren't they? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #16 from aj@novell.com 2007-04-10 07:43 MST ------- Matthias, the deal did not gave us a patent license. It protects our customers so that you will not be sued by Microsoft. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 renato_yamane@yahoo.com.br changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |renato_yamane@yahoo.com.br ------- Comment #17 from renato_yamane@yahoo.com.br 2007-04-10 10:24 MST ------- So, I can use this feature (subpixel) on OpenSuSE and Microsoft can't sued me? But, OpenSuSE can't available this feature as default, is it? Best regards, Renato S. Yamane Brazil -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #18 from jw@novell.com 2007-04-10 10:44 MST ------- This is not about a default setting. OpenSUSE does not even include the code to do subpixel rendering. "Microsoft, on behalf of itself and its Subsidiaries (collectively “Microsoft”), hereby covenants not to sue Novell’s Customers and Novell’s Subsidiaries’ Customers for infringement under Covered Patents of Microsoft on account of a such Customers’ use of specific copies of a Covered Product as distributed by Novell ..." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #19 from cmorve69@yahoo.es 2007-04-10 12:29 MST ------- But this is any different from the TrueType Bytecode Interpreter (Apple patents) case? It is enabled/compiled in freetype2... but no in freetype¿? The situation in openSUSE 10.2 is: Freetype: Bytecode Interpreter disabled (Apple) Freetype: Has sub-pixel antialising support? If so, is enabled? Freetype2: Bytecode Interpreter enabled (Apple) Freetype2: Sub-pixel antialising disabled (Microsoft) Shouldn't them be both enabled or both disabled? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #20 from renato_yamane@yahoo.com.br 2007-04-10 12:33 MST ------- Juergen, in /usr/include/freetype2/freetype/config/ftoption.h we found: /* Uncomment the line below if you want to active sub-pixel rendering */ /* (a.k.a. LCD rendering, or ClearType) in this build of the library. */ ..cut... /* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */ So, sub-pixel is available in OpenSuSE 10.2, but is not active. Best regards, Renato S. Yamane -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=259718 ------- Comment #21 from jw@novell.com 2007-04-10 12:50 MST ------- Jiri, this bug is now drifting into legal issues. We cannot discuss this in public. I am moving this to a closed forum now. Can you please take the original KDE enhancement idea into a separate bug? thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com