[Bug 33401] WebFonts must load content language's font not interface lang's font

2012-01-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

Santhosh Thottingal  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #5 from Santhosh Thottingal  
2012-01-12 12:50:42 UTC ---
(In reply to comment #3)
> I agree with your expectation.  IIRC there was even a webfonts.all test where 
> a
> sample page loaded webfonts for all supported languages with lang tags and 
> that
> test passed.
> 
> http://translatewiki.net/wiki/WebFonts_assessment/autotesting2 -- If am right,
> passes for me too on same browser - with a comment, On the article page, all
> fonts render, but on the edit or,my,saz fails and displays squares inside edit
> box. (My guess is i have fonts for others, and they are displaying for local).
> Branch it to new bug if you could reproduce the same. 

This is always reproducible but there is no fix. We can apply only one webfont
to a text area. If the text area got 5 words in 5 languages, we cannot apply 5
fonts to text area. For these kind of purpose a rich text interface is needed ,
Something like a visual editor, But textbox cannot handle this.

> PS: For testing this bug I renamed all my oriya ttf files and cleared my font
> cache using fc-cache

nope, renaming wont work. You need to move the fonts out of your system font
directory and user font directory. fc-cache is not for clearing cache, but to
recreate the cache. And font file names are irrelevant to fontconfig. It reads
the fonts and understand the ttf name, glyphs availability etc.

I am closing this, may be you can open a specific bug about UI. But I dont
think we need to list all the font loaded to a page in the webfonts menu.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 33401] WebFonts must load content language's font not interface lang's font

2011-12-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

Mark A. Hershberger  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal
 CC||m...@everybody.org

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 33401] WebFonts must load content language's font not interface lang's font

2011-12-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

--- Comment #4 from Srikanth Logic  2011-12-28 22:50:16 UTC 
---
Assuming this works fine, should the UI have both Tamil & Oriya Font as checked
to inform the user 2 webfonts are being used to render the page? This can be
lower priority and thought along with UI redesign.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 33401] WebFonts must load content language's font not interface lang's font

2011-12-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

--- Comment #3 from Srikanth Logic  2011-12-28 22:47:23 UTC 
---
I agree with your expectation.  IIRC there was even a webfonts.all test where a
sample page loaded webfonts for all supported languages with lang tags and that
test passed.

http://translatewiki.net/wiki/WebFonts_assessment/autotesting2 -- If am right,
passes for me too on same browser - with a comment, On the article page, all
fonts render, but on the edit or,my,saz fails and displays squares inside edit
box. (My guess is i have fonts for others, and they are displaying for local).
Branch it to new bug if you could reproduce the same. 

== Coming to Main bug ==

Am putting below the snippets of source i get when am logged in.

http://www.w3.org/1999/xhtml";>

ଉଇକିପିଡ଼ିଆ



1. html lang is set to ta, my interface renders Lohit-Tamil by default, if I
reset the font it renders everything in TSCu_Paranar (My local tamil font)

2. Even though title tag doesnt have any lang code, am able to see the oriya
text on the title bar render properly.

3. Body Content div has or as lang tag bug everything else on page are squares.

=== Anonymous ===

When am anonymous, things work perfectly fine during when both . Title doesnt have lang code here too, but works fine.


PS: For testing this bug I renamed all my oriya ttf files and cleared my font
cache using fc-cache

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 33401] WebFonts must load content language's font not interface lang's font

2011-12-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

--- Comment #2 from Siebrand  2011-12-28 21:10:13 UTC ---
Let's agree on the basics here: when there is a "lang" tag, and web fonts is
active, it should apply the appropriate font for each supported and tagged
language. Right? (I don't expect any disagreement here.) this is te behaviour I
expect of the current version of WebFonts.

If you're seeing anything else, as you are reporting, there are two
possibilities:
* the content is not tagged correctly - it should be content language by
default for content
* WebFonts is not doing things as we think it should

Let's determine what's going on and fix it.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 33401] WebFonts must load content language's font not interface lang's font

2011-12-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=33401

--- Comment #1 from Srikanth Logic  2011-12-28 17:20:31 UTC 
---
> I think its safe to assume that user who has chosen non English interface

to be read as 

 I think its safe to assume that user who has chosen non English / "non wiki
default content lang" interface

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l