Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <!DOCTYPE HTML> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>@font-face and synthetic rendering</title> |
michael@0 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
michael@0 | 6 | |
michael@0 | 7 | <style type="text/css"> |
michael@0 | 8 | |
michael@0 | 9 | @import url(../fonts/mplus/mplusfonts.css); |
michael@0 | 10 | |
michael@0 | 11 | body { |
michael@0 | 12 | margin: 50px; |
michael@0 | 13 | font-family: mplus1p, Futura, sans-serif; |
michael@0 | 14 | font-size: 18pt; |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | table { |
michael@0 | 18 | border-collapse: collapse; |
michael@0 | 19 | margin-left: 1em; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | td + td { |
michael@0 | 23 | padding-left: 1em; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | @font-face { font-family: mplus-w1; font-weight: 100; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 27 | @font-face { font-family: mplus-w1; font-style: italic; font-weight: 100; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 28 | @font-face { font-family: mplus-w1; font-style: oblique; font-weight: 100; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 29 | .mplus-w1 { font-family: mplus-w1; } |
michael@0 | 30 | |
michael@0 | 31 | @font-face { font-family: mplus-w2; font-weight: 200; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 32 | @font-face { font-family: mplus-w2; font-style: italic; font-weight: 200; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 33 | @font-face { font-family: mplus-w2; font-style: oblique; font-weight: 200; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 34 | .mplus-w2 { font-family: mplus-w2; } |
michael@0 | 35 | |
michael@0 | 36 | @font-face { font-family: mplus-w3; font-weight: 300; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 37 | @font-face { font-family: mplus-w3; font-style: italic; font-weight: 300; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 38 | @font-face { font-family: mplus-w3; font-style: oblique; font-weight: 300; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 39 | .mplus-w3 { font-family: mplus-w3; } |
michael@0 | 40 | |
michael@0 | 41 | @font-face { font-family: mplus-w4; font-weight: 400; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 42 | @font-face { font-family: mplus-w4; font-style: italic; font-weight: 400; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 43 | @font-face { font-family: mplus-w4; font-style: oblique; font-weight: 400; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 44 | .mplus-w4 { font-family: mplus-w4; } |
michael@0 | 45 | |
michael@0 | 46 | @font-face { font-family: mplus-w5; font-weight: 500; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 47 | @font-face { font-family: mplus-w5; font-style: italic; font-weight: 500; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 48 | @font-face { font-family: mplus-w5; font-style: oblique; font-weight: 500; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 49 | .mplus-w5 { font-family: mplus-w5; } |
michael@0 | 50 | |
michael@0 | 51 | @font-face { font-family: mplus-w6; font-weight: 600; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 52 | @font-face { font-family: mplus-w6; font-style: italic; font-weight: 600; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 53 | @font-face { font-family: mplus-w6; font-style: oblique; font-weight: 600; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 54 | .mplus-w6 { font-family: mplus-w6; } |
michael@0 | 55 | |
michael@0 | 56 | @font-face { font-family: mplus-w7; font-weight: 700; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 57 | @font-face { font-family: mplus-w7; font-style: italic; font-weight: 700; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 58 | @font-face { font-family: mplus-w7; font-style: oblique; font-weight: 700; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 59 | .mplus-w7 { font-family: mplus-w7; } |
michael@0 | 60 | |
michael@0 | 61 | @font-face { font-family: mplus-w8; font-weight: 800; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 62 | @font-face { font-family: mplus-w8; font-style: italic; font-weight: 800; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 63 | @font-face { font-family: mplus-w8; font-style: oblique; font-weight: 800; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 64 | .mplus-w8 { font-family: mplus-w8; } |
michael@0 | 65 | |
michael@0 | 66 | @font-face { font-family: mplus-w9; font-weight: 900; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 67 | @font-face { font-family: mplus-w9; font-style: italic; font-weight: 900; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 68 | @font-face { font-family: mplus-w9; font-style: oblique; font-weight: 900; src: url(../fonts/mplus/mplus-1p-regular.ttf); } |
michael@0 | 69 | .mplus-w9 { font-family: mplus-w9; } |
michael@0 | 70 | |
michael@0 | 71 | </style> |
michael@0 | 72 | |
michael@0 | 73 | |
michael@0 | 74 | </head> |
michael@0 | 75 | |
michael@0 | 76 | <body> |
michael@0 | 77 | |
michael@0 | 78 | <h4>Text below should appear in normal face with no synthetic bolding/italics</h4> |
michael@0 | 79 | |
michael@0 | 80 | <table> |
michael@0 | 81 | <tr class="mplus-w1"> |
michael@0 | 82 | <td style="font-family: mplus1p;">100</td> |
michael@0 | 83 | <td>Regular</td> |
michael@0 | 84 | <td style="font-style: italic;">Italic</td> |
michael@0 | 85 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 86 | <td style="font-weight: 100;">Regular</td> |
michael@0 | 87 | <td style="font-style: italic;font-weight: 100;">Italic</td> |
michael@0 | 88 | <td style="font-style: oblique;font-weight: 100;">Oblique</td> |
michael@0 | 89 | </tr> |
michael@0 | 90 | <tr class="mplus-w2"> |
michael@0 | 91 | <td style="font-family: mplus1p;">200</td> |
michael@0 | 92 | <td>Regular</td> |
michael@0 | 93 | <td style="font-style: italic;">Italic</td> |
michael@0 | 94 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 95 | <td style="font-weight: 200;">Regular</td> |
michael@0 | 96 | <td style="font-style: italic;font-weight: 200;">Italic</td> |
michael@0 | 97 | <td style="font-style: oblique;font-weight: 200;">Oblique</td> |
michael@0 | 98 | </tr> |
michael@0 | 99 | <tr class="mplus-w3"> |
michael@0 | 100 | <td style="font-family: mplus1p;">300</td> |
michael@0 | 101 | <td>Regular</td> |
michael@0 | 102 | <td style="font-style: italic;">Italic</td> |
michael@0 | 103 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 104 | <td style="font-weight: 300;">Regular</td> |
michael@0 | 105 | <td style="font-style: italic;font-weight: 300;">Italic</td> |
michael@0 | 106 | <td style="font-style: oblique;font-weight: 300;">Oblique</td> |
michael@0 | 107 | </tr> |
michael@0 | 108 | <tr class="mplus-w4"> |
michael@0 | 109 | <td style="font-family: mplus1p;">400</td> |
michael@0 | 110 | <td>Regular</td> |
michael@0 | 111 | <td style="font-style: italic;">Italic</td> |
michael@0 | 112 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 113 | <td style="font-weight: 400;">Regular</td> |
michael@0 | 114 | <td style="font-style: italic;font-weight: 400;">Italic</td> |
michael@0 | 115 | <td style="font-style: oblique;font-weight: 400;">Oblique</td> |
michael@0 | 116 | </tr> |
michael@0 | 117 | <tr class="mplus-w5"> |
michael@0 | 118 | <td style="font-family: mplus1p;">500</td> |
michael@0 | 119 | <td>Regular</td> |
michael@0 | 120 | <td style="font-style: italic;">Italic</td> |
michael@0 | 121 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 122 | <td style="font-weight: 500;">Regular</td> |
michael@0 | 123 | <td style="font-style: italic;font-weight: 500;">Italic</td> |
michael@0 | 124 | <td style="font-style: oblique;font-weight: 500;">Oblique</td> |
michael@0 | 125 | </tr> |
michael@0 | 126 | <tr class="mplus-w6"> |
michael@0 | 127 | <td style="font-family: mplus1p;">600</td> |
michael@0 | 128 | <td>Regular</td> |
michael@0 | 129 | <td style="font-style: italic;">Italic</td> |
michael@0 | 130 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 131 | <td style="font-weight: 600;">Regular</td> |
michael@0 | 132 | <td style="font-style: italic;font-weight: 600;">Italic</td> |
michael@0 | 133 | <td style="font-style: oblique;font-weight: 600;">Oblique</td> |
michael@0 | 134 | </tr> |
michael@0 | 135 | <tr class="mplus-w7"> |
michael@0 | 136 | <td style="font-family: mplus1p;">700</td> |
michael@0 | 137 | <td>Regular</td> |
michael@0 | 138 | <td style="font-style: italic;">Italic</td> |
michael@0 | 139 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 140 | <td style="font-weight: 700;">Regular</td> |
michael@0 | 141 | <td style="font-style: italic;font-weight: 700;">Italic</td> |
michael@0 | 142 | <td style="font-style: oblique;font-weight: 700;">Oblique</td> |
michael@0 | 143 | </tr> |
michael@0 | 144 | <tr class="mplus-w8"> |
michael@0 | 145 | <td style="font-family: mplus1p;">800</td> |
michael@0 | 146 | <td>Regular</td> |
michael@0 | 147 | <td style="font-style: italic;">Italic</td> |
michael@0 | 148 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 149 | <td style="font-weight: 800;">Regular</td> |
michael@0 | 150 | <td style="font-style: italic;font-weight: 800;">Italic</td> |
michael@0 | 151 | <td style="font-style: oblique;font-weight: 800;">Oblique</td> |
michael@0 | 152 | </tr> |
michael@0 | 153 | <tr class="mplus-w9"> |
michael@0 | 154 | <td style="font-family: mplus1p;">900</td> |
michael@0 | 155 | <td>Regular</td> |
michael@0 | 156 | <td style="font-style: italic;">Italic</td> |
michael@0 | 157 | <td style="font-style: oblique;">Oblique</td> |
michael@0 | 158 | <td style="font-weight: 900;">Regular</td> |
michael@0 | 159 | <td style="font-style: italic;font-weight: 900;">Italic</td> |
michael@0 | 160 | <td style="font-style: oblique;font-weight: 900;">Oblique</td> |
michael@0 | 161 | </tr> |
michael@0 | 162 | </table> |
michael@0 | 163 | |
michael@0 | 164 | </body> |
michael@0 | 165 | </html> |