Bug 404723 - font selection doesn't fallback to css families r=pavlov a=blocking1.9+
authorkarlt+@karlt.net
Wed, 21 Nov 2007 14:26:41 -0800
changeset 8271 18b13d4531481d94b375ef3eb410145bd9c04c16
parent 8270 66b7a6d52ad787edd2f23bf4a94f3f29d61ab9c3
child 8272 1415f9688fcbbe38f87b5a49894d83bd13de9e1e
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspavlov, blocking1
bugs404723
milestone1.9b2pre
Bug 404723 - font selection doesn't fallback to css families r=pavlov a=blocking1.9+
gfx/thebes/src/gfxPangoFonts.cpp
--- a/gfx/thebes/src/gfxPangoFonts.cpp
+++ b/gfx/thebes/src/gfxPangoFonts.cpp
@@ -1103,17 +1103,17 @@ gfxPangoFontGroup::CreateGlyphRunsItemiz
 
     PangoFontDescription *fontDesc = pango_font_description_new();
 
     // these should be FontEntries or something similar rather than gfxPangoFonts...
     nsString fontList;
 
     for (PRUint32 i = 0; i < mFonts.Length(); i++) {
         fontList.Append(mFonts[i]->GetName());
-        fontList.Append(NS_LITERAL_STRING(", "));
+        fontList.Append(NS_LITERAL_STRING(","));
     }
 
     PangoLanguage *lang = GetPangoLanguage(GetStyle()->langGroup);
 
     pango_font_description_set_family(fontDesc, NS_ConvertUTF16toUTF8(fontList).get());
     pango_font_description_set_absolute_size(fontDesc, GetStyle()->size * PANGO_SCALE);
     pango_font_description_set_style(fontDesc, ThebesStyleToPangoStyle(GetStyle()));
     pango_font_description_set_weight(fontDesc, ThebesStyleToPangoWeight(GetStyle()));