[Bug 3512] Implement font-stretch property

2009-08-18 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #61 from Magne Andersson bugzi...@zirro.se  2009-08-18 12:54:28 
PDT ---
Will this make it in for 1.9.2, or is it for a later version?

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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2009-01-29 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #60 from David Baron [:dbaron] dba...@dbaron.org  2009-01-29 
15:46:23 PST ---
OK, I landed those pieces:
http://hg.mozilla.org/mozilla-central/rev/cbcf14ce64cc
http://hg.mozilla.org/mozilla-central/rev/e2182ed1e129
so I think what's left here should be the platform-specific parts.

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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2009-01-28 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Boris Zbarsky (:bz) (todo: 175+ items) bzbar...@mit.edu changed:

   What|Removed |Added

 Attachment #358121|superreview?(bzbar...@mit.e |superreview+
   Flag|du) |




--- Comment #58 from Boris Zbarsky (:bz) (todo: 175+ items) bzbar...@mit.edu  
2009-01-28 10:58:00 PST ---
(From update of attachment 358121)
+++ b/gfx/src/nsFont.cpp
 nsFont::nsFont(const char* aName, PRUint8 aStyle, PRUint8 aVariant,

Might be worth it to move these constructors to initializer syntax, maybe. 
That can be a separate patch, of course.

+++ b/gfx/thebes/public/gfxFontConstants.h

+#define NS_FONT_STRETCH_ULTRA_CONDENSED -4
+#define NS_FONT_STRETCH_EXTRA_CONDENSED -3
+#define NS_FONT_STRETCH_CONDENSED   -2
+#define NS_FONT_STRETCH_SEMI_CONDENSED  -1
+#define NS_FONT_STRETCH_NORMAL  0
+#define NS_FONT_STRETCH_SEMI_EXPANDED   1
+#define NS_FONT_STRETCH_EXPANDED2
+#define NS_FONT_STRETCH_EXTRA_EXPANDED  3
+#define NS_FONT_STRETCH_ULTRA_EXPANDED  4
+#define NS_FONT_STRETCH_WIDER   10
+#define NS_FONT_STRETCH_NARROWER-10

Document or PR_STATIC_ASSERT that WIDER needs to be  ULTRA_EXPANDED -
ULTRA_CONDENSED (or rather the min and max normal values of font-stretch) and
that NARROWER needs to be -WIDER?  I assume it does so that we can tell apart
ULTRA_CONDENSED+WIDER and other values.

+++ b/layout/style/nsComputedDOMStyle.cpp
+nsComputedDOMStyle::GetFontStretch(nsIDOMCSSValue** aValue)
+  PR_STATIC_ASSERT(NS_FONT_STRETCH_NARROWER == -10);
+  PR_STATIC_ASSERT(NS_FONT_STRETCH_WIDER == 10);

How about:

  PR_STATIC_ASSERT(NS_FONT_STRETCH_NARROWER % 2 == 0);
  PR_STATIC_ASSERT(NS_FONT_STRETCH_WIDER % 2 == 0);

+  } else if (stretch = -5) {
...
+  } else if (stretch = 5) {

And make that |stretch = NS_FONT_STRETCH_NARROWER / 2| and |stretch =
NS_FONT_STRETCH_WIDER / 2| ?  That looks like it should be eqivalent given the
range asserts in the header, right?

Alternately, if we had a FONT_STRETCH_MIN/MAX declared in the header we could
compare to them here (with strict  and , presumably).

sr=bzbarsky with the nits.

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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2009-01-28 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #59 from David Baron [:dbaron] dba...@dbaron.org  2009-01-28 
11:17:17 PST ---
(In reply to comment #58)
 Document or PR_STATIC_ASSERT that WIDER needs to be  ULTRA_EXPANDED -
 ULTRA_CONDENSED (or rather the min and max normal values of font-stretch) 
 and
 that NARROWER needs to be -WIDER?  I assume it does so that we can tell apart
 ULTRA_CONDENSED+WIDER and other values.

I'll go with the document primarily because using PR_STATIC_ASSERT in header
files is a real mess, because it depends on prlog.h, but we in turn depend on
setting up FORCE_PR_LOG macros in special ways before the first include of
prlog.h, so I'd really prefer to avoid including prlog.h from header files (and
I don't want to get into that mess as part of this patch).

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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-09-13 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


David Baron [:dbaron] [EMAIL PROTECTED] changed:

   What|Removed |Added

 Attachment #313539|0   |1
is obsolete||




--- Comment #54 from David Baron [:dbaron] [EMAIL PROTECTED]  2008-09-13 
18:23:51 PDT ---
Created an attachment (id=338479)
 -- (https://bugzilla.mozilla.org/attachment.cgi?id=338479)
patch for style system end

This is updated to have a change I missed in nsThebesDeviceContext (missing
that change was causing valgrind warnings) and to use SetDiscrete.

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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-08-05 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Bug 3512 depends on bug 437356, which changed state.

Bug 437356 Summary: set up shared font entry object
https://bugzilla.mozilla.org/show_bug.cgi?id=437356

   What|Old Value   |New Value

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED



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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-07-09 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Robert O'Callahan (:roc) [EMAIL PROTECTED] changed:

   What|Removed |Added

   Flag|wanted1.9.1?|wanted1.9.1+




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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-06-05 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Nicolas Mailhot [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #53 from Nicolas Mailhot [EMAIL PROTECTED]  2008-06-04 23:24:08 
PDT ---
If that can help disambiguate the W3C spec do not forget stretch properties are
also discussed in other documents such as
http://blogs.msdn.com/text/attachment/2249036.ashx


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-06-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


David Baron [:dbaron] [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #43 from David Baron [:dbaron] [EMAIL PROTECTED]  2008-06-04 
10:04:41 PDT ---
So, for what it's worth, the patch here has the same issue with narrower and
wider that we have with bolder and lighter for font-weight; we really need to
store an ordered list of narrower/wider values if we want to get this correct
relative to the fonts available, on a per-character basis.  So if we fix one,
we might want to fix the other at the same time.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-06-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #46 from John Daggett (:jtd) [EMAIL PROTECTED]  2008-06-04 
17:23:10 PDT ---
(In reply to comment #43)
 So, for what it's worth, the patch here has the same issue with narrower and
 wider that we have with bolder and lighter for font-weight; we really need to
 store an ordered list of narrower/wider values if we want to get this correct
 relative to the fonts available, on a per-character basis.  So if we fix one,
 we might want to fix the other at the same time.

That's actually what we do for bolder/lighter, at least on Mac/Windows.  The
real tricky part of the problem is dealing with synthetic bold because you need
to know whether a face was available for weight + n steps of bolder when
deciding whether to enable synthetic bold or not, as in the inner-most span
below:

Font family: Bongo (two weights 200, 400)

.base { font-family: Bongo; font-weight: 200; }
.b { font-weight: bolder; }

p class=baseShould be light face
  span class=bwith regular face
span class=band synthetic bolded regular face/span
  /span
/p

So for font-stretch we may have to deal with the same issues if we're going to
do synthesized condensed/expanded (Stuart is in favor, I'm on the fence).

As for the numbers, we probably need to pass around relative widths also (e.g.
501 for normal + 1 step wider) as we do for font-weight.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-06-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #48 from Zack Weinberg [EMAIL PROTECTED]  2008-06-04 17:30:58 PDT 
---
The problem with a single-number coding scheme like 501 = normal + 1 step
(wider/bolder) is that wider/narrower, like bolder/lighter, are required to
make a change if they can.  So, consider

span style=font-stretch: normala
 span style=font-stretch: widerb
  span style=font-stretch: narrowerc
/span/span/span

Suppose that the font family for this entire thing has two widths: normal and
condensed.  (Pretty common.) Then the spec says a and b should be rendered
at normal width, and c at condensed width.  But with a single-number scheme,
the style for c is indistinguishable from the style for a.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-06-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #49 from John Daggett (:jtd) [EMAIL PROTECTED]  2008-06-04 
18:57:30 PDT ---
(In reply to comment #48)

Hmmm, what spec defines this?  Are you using the wording for font-weight from
the 2.1 spec to infer how font-stretch works?

I would argue that for your example a and c should render the same no matter
what font faces were available.  I could definitely see how one might interpret
the 2.1 font-weight description to infer the behavior in your example.  Damn
spec writers. ;)


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-04-03 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


John Daggett (:jtd) [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]




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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-04-03 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


John Daggett (:jtd) [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED],
   ||[EMAIL PROTECTED],
   ||[EMAIL PROTECTED]
   Priority|P4  |P2




--- Comment #39 from John Daggett (:jtd) [EMAIL PROTECTED]  2008-04-03 
18:05:55 PDT ---
Given the wider prevalence of condensed/expanded faces on platforms like Mac OS
X and the increasing number of open source fonts like the Deja Vu family which
contain condensed/expanded faces, I'm going to bump up the priority of this
one. Without this attribute these faces are effectively unusable, since no
combination of font-xxx attributes will resolve to a condensed face if a normal
face is around.  On Windows, where font families are currently unified using
the four faces per family rule, the font-family attribute can be used but
this doesn't work when name unification is done to include a fuller set of
faces within a single font family, as is done under Mac OS X.

Stuart says he has a work-in-progress patch.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-04-03 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #40 from David Baron [:dbaron] [EMAIL PROTECTED]  2008-04-03 
22:26:16 PDT ---
Created an attachment (id=313538)
 -- (https://bugzilla.mozilla.org/attachment.cgi?id=313538)
patch for style system end

Here's a patch that gets this through the style system (it was already
half-implemented) so you guys have something to test with.  This passes style
system mochitests, but the FIXME comments should really be fixed before
landing.

(I used the existing constant structure in layout/base/nsStyleConsts.h, which
may not be ideal, but it should work.)


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-04-03 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


David Baron [:dbaron] [EMAIL PROTECTED] changed:

   What|Removed |Added

 Attachment #313538|0   |1
is obsolete||




--- Comment #41 from David Baron [:dbaron] [EMAIL PROTECTED]  2008-04-03 
22:29:23 PDT ---
Created an attachment (id=313539)
 -- (https://bugzilla.mozilla.org/attachment.cgi?id=313539)
patch for style system end

Er, missed one thing that's important for handling dynamic changes.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-07 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #36 from Nicolas Mailhot [EMAIL PROTECTED]  2008-03-07 05:25:42 
PST ---
I'm going to try to reword and summarise the problem there.

1. When software was young fonts were sparse and their format limitative. One
typically had different font files and names per encoding and variant of the
same font, and all those files exposed different font family names.
Applications manipulating formatted text just had to expose a raw font family
list to users, and make minimal effort to regroup the most frequent
variants/faces (regular, bold, bold italic, italic) together. Font users
browsed the raw font name list and selected the right font file directly.
Everyone knew the Microsoft font list (for example, use Aral Black for an heavy
font, use Arial Narrow for a condensed one).

2. Strong demand from artists led to creation of more complex fonts and font
formats. Modern fonts are no longer limited encoding-wise, faces are no longer
limited to regular, bold, bold italic, italic, and more critically they're no
longer exposed under different font names. All the faces declare the same font
name, and software is expected to provide users ways to select the face they
want.

3. Those complex fonts were at first limited to expensive font collections, but
are now being commodized

4. After the success of its core fonts for the web initiative Microsoft
decided to use its new fonts as a commercial argument. So they're no longer
freely distributed, and alternatives to Windows, IE and Office need to propose
their own font offerings. Since font names are protected, that means exposing
users to new font lists, where the workarounds they learnt in 1. no longer
apply.

It is therefore becoming critical to revamp the font selection mechanisms of
FLOSS apps so :
1. they can expose to users all the faces of the complex fonts which are now
getting widely distributed
2. they can help them use non-Microsoft font libraries, so they don't run back
to Microsoft products just because they can't manage anything but the
commercial fonts it bundles with its offerings

Fortunately the technical analysis has already been done as part of W3C
OpenType and probably other specifications. Selecting the right face inside a
font family depends on three parameters:
1. font slant (font-style, FontStyle): normal, italic, oblique...
2. font weight (font-weight, FontWeight): normal, bold, light...
3. font stretch (font-stretch, FontStretch): normal, condensed, expanded...

This classification is adopted by every major actor:
http://www.w3.org/TR/css3-fonts/#font-styling (Web)
http://blogs.msdn.com/text/attachment/2249036.ashx (Windows)
http://fontconfig.org/fontconfig-user.html (Unix/Linux)

Firefox is not implementing the third CSS axis right now. That means it can not
browse the full font universe, and effectively pushes its users to use fonts
distributed on the Windows platform at a time font family games were the only
way to expose stretch. This kind of indirect dependency on an editor which has
no love lost for Firefox is not good for Firefox users, not good for the Free
web the Mozilla foundation wants to promote, and therefore not good for Firefox
itself.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-07 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #37 from Bob T. [EMAIL PROTECTED]  2008-03-07 12:01:51 PST ---
Nicolas and I have disagreed about some simple short-term fixes for this on the
Linux platform (which doesn't involve FF). But he's claimed that a short-term
fix will contribute to deferring implementation of a long-term general solution
of this problem on Firefox.  So let me say that I do support implementation of
font-stretch ASAP (though I wish a less misleading term such as font-width
had been used).

Bob T.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-07 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #38 from David Baron [:dbaron] [EMAIL PROTECTED]  2008-03-07 
14:16:16 PST ---
Discussion about whether we should implement a temporary hack to allow these
fonts to be specified does not belong in a bug about implementing the permanent
solution.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-06 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Nicolas Mailhot [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC|[EMAIL PROTECTED] |




--- Comment #34 from Nicolas Mailhot [EMAIL PROTECTED]  2008-03-06 09:06:37 
PST ---
See also http://bugs.webkit.org/show_bug.cgi?id=12530#c11


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-06 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #35 from Felix Miata [EMAIL PROTECTED]  2008-03-06 10:32:04 PST 
---
(In reply to comment #33)
 (In reply to comment #32)
  If web authors could specify it in a font-family
  list and Firefox would respect that request,

 Even if it did appear that would not make it selectable in CSS by web authors.
 Because the font family is not Nimbus Sans L Condensed but Nimbus Sans L,
 with the Condensed variant, so the font family selector won't work.

Nimbus Sans L Condensed is a valid family name, and so can be specified and
served by Gecko. It's just not present on most Linux systems like the condensed
variant of Nimbus Sans L is. See e.g.
https://bugzilla.novell.com/show_bug.cgi?id=367188


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-05 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Nicolas Mailhot [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Comment #33 from Nicolas Mailhot [EMAIL PROTECTED]  2008-03-05 05:31:00 
PST ---
(In reply to comment #32)
 So maybe font-stretch is a red herring.

It's not. font-stretch is the only standardised way to select a condensed font
reliably (cross-platform and future-proof).

 Surely the failure of Firefox on Linux to recognize Nimbus Sans L Condensed 
 is a *bug*.

If it does not appear in Firefox dialogs that would be a bug all right (I
thought this had been fixed, but Firefox definitely assumes in places you have
font family, then regular/bold/italic/bold italic, when the font reality is
more complex than that. And fonts that take advantage of this complexity are
not limited to expensive niche designer font libraries anymore).

 If web authors could specify it in a font-family
 list and Firefox would respect that request,

Even if it did appear that would not make it selectable in CSS by web authors.
Because the font family is not Nimbus Sans L Condensed but Nimbus Sans L,
with the Condensed variant, so the font family selector won't work.

Many condensed fonts are like that and Arial Narrow (where Narrow is actually
part of the family name) is far from representative. It's sad that this font
(which has never been distributed on free/open platforms, and not even been
part of the core fonts for the web free-beer-download operation, is used as
argument to delay implementing font-stretch.

IIRC the Behdad of Pango fame had found some documents that described the font
selection algorithm used by Microsoft for OpenType fonts, and intended to
closely follow it pango/fontconfig side. This logic should probably apply to
CSS font selectors if there is any ambiguïty in the w3c specs.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512


Nicolas Mailhot [EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||fedora-fonts-bugs-
   ||[EMAIL PROTECTED]




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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list


[Bug 3512] Implement font-stretch property

2008-03-04 Thread bugzilla-daemon
Do not reply to this email.  You can add comments to this bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=3512





--- Comment #30 from Bob T. [EMAIL PROTECTED]  2008-03-04 17:54:18 PST ---
this needs to apply per family  Why?  The web designer simply wants to
specify, say, a condensed sans serif font. It doesn't have to match a
non-condensed font used elsewhere. Think of condensed as analogous to
monospaced.

you can just use the 'xyz condensed' family most of the time  On Linux there
is only one condensed font that one can expect is always available: Nimbus Sans
L Condensed (a clone of Helvetica Condensed).  Unfortunately, Firefox doesn't
even allow the user to choose this font, much less use it automatically if
font-stretch: condensed is specified, nor even if font-family: Nimbus Sans L
Condensed is specified.  Now do you see why something has to be done about
this?  Web pages that use a condensed sans font  can't possibly be rendered
properly in Linux, no matter what the web designer specifies.  Please, at least
fix this in the Linux version of Firefox.


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

___
Fedora-fonts-bugs-list mailing list
Fedora-fonts-bugs-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-fonts-bugs-list