Options:
- # Session Start: Tue Jan 14 00:00:00 2014
- # Session Ident: #css
- # [00:07] * Joins: jet (~junglecode@public.cloak)
- # [00:29] * Joins: zcorpan (~zcorpan@public.cloak)
- # [00:36] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [00:38] * Joins: jdaggett (~jdaggett@public.cloak)
- # [00:48] * Joins: plh3 (plehegar@public.cloak)
- # [00:52] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
- # [00:53] * Quits: plh (plehegar@public.cloak) (Ping timeout: 180 seconds)
- # [01:24] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
- # [01:30] * Joins: zcorpan (~zcorpan@public.cloak)
- # [01:37] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [01:42] * Quits: jet (~junglecode@public.cloak) (jet)
- # [02:10] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [02:10] * Joins: dwim (~dwim@public.cloak)
- # [02:30] * Joins: lmcliste_ (~lmclister@public.cloak)
- # [02:31] * Joins: zcorpan (~zcorpan@public.cloak)
- # [02:32] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [02:32] * Joins: dwim (~dwim@public.cloak)
- # [02:34] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [02:34] * Joins: dwim (~dwim@public.cloak)
- # [02:38] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [02:45] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
- # [02:48] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [02:48] * Joins: dwim (~dwim@public.cloak)
- # [03:15] <paul___irish> jdaggett: you around? was going to ask a question about match() in the Font Load Events api
- # [03:31] * Joins: zcorpan (~zcorpan@public.cloak)
- # [03:38] * Joins: jet (~junglecode@public.cloak)
- # [03:38] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [04:01] <liam> paul___irish, if you just ask the question maybe you'll get an answer anyway, especially if you can leave this window open for a day or two :)
- # [04:01] <paul___irish> yeah. i should know better. :)
- # [04:01] <paul___irish> document.fonts.match('10px Lobster')…
- # [04:02] <paul___irish> match is taking a font string which is equivalent to css font shorthand or 2d canvas context font attribute.
- # [04:02] <paul___irish> size is mandatory
- # [04:02] <paul___irish> but my brain cannot make the sense of using a fontsize when asking to match against a font i have on the page.
- # [04:03] <paul___irish> so is the guidance when using this api to just throw a valid size in there, but otherwise it's discarded?
- # [04:04] <liam> the argument to match() is a font specifier according to http://dev.w3.org/csswg/css-fonts-3/#propdef-font
- # [04:04] <liam> http://dev.w3.org/csswg/css-font-load-events/#font-face-set-match
- # [04:04] <paul___irish> agree.
- # [04:04] <liam> For each family in font family list, use the font matching rules to select the available font faces that match the font style.
- # [04:04] <liam> it doesn't say it matchesonly fonts you are already using
- # [04:05] <paul___irish> i'm just complaining the font specifier requires a font-size. however font-size makes zero sense in the context of matching against active fonts
- # [04:05] <liam> I don't see that a font size should be required
- # [04:05] <liam> font: bold italic large Palatino, serif
- # [04:05] <liam> is one of the examples given
- # [04:06] <liam> (in http://dev.w3.org/csswg/css-fonts-3/#propdef-font )
- # [04:06] <paul___irish> large
- # [04:07] <liam> oh right
- # [04:07] <paul___irish> unless you use (caption | icon | menu | message-box | small-caption | status-bar) then you have to specify font-size
- # [04:07] <liam> well, does it make sense to ask for a font without asking for a size?
- # [04:07] <paul___irish> yup
- # [04:08] <paul___irish> as far as the match API is concerned. yes :)
- # [04:08] <liam> in a sense yes if it's a scalable font with no optical variants
- # [04:08] <paul___irish> @font-face lets you define different fonts that differ based on font-style or font-variant. but afaik font-size is not something you can define a font with
- # [04:08] <paul___irish> so it's never a differentiator
- # [04:09] <paul___irish> will bbl. leaving my window open. ;)
- # [04:09] <liam> well, 14 pt C&C Caslon will get you a different truetype font than 64pt C&C Caslon
- # [04:10] <liam> at least in theory, if you have a system that supports the technology
- # [04:10] <liam> MS just released another multiple-size font in Windows 8.1
- # [04:32] * Joins: zcorpan (~zcorpan@public.cloak)
- # [04:36] * Quits: jet (~junglecode@public.cloak) (jet)
- # [04:39] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [04:49] * Quits: plh3 (plehegar@public.cloak) (Ping timeout: 180 seconds)
- # [05:08] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [05:08] * Joins: dwim (~dwim@public.cloak)
- # [05:15] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [05:15] * Joins: dwim (~dwim@public.cloak)
- # [05:33] * Joins: zcorpan (~zcorpan@public.cloak)
- # [05:40] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [06:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [06:39] <paul___irish> liam: really? got a link to where i can understand that better?
- # [06:41] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [06:41] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
- # [06:48] <liam> paul___irish, hmm, I'll have to look. Note, I'm saying that applies to fonts in general, and a CSS-based system is certainly free to return different font objects for different sizes, but I don't know if they do. IE might if you go for a bitmap font, for example, and future versions of IE will, I expect, support the optical size stuff just as the Mac used to
- # [06:49] <paul___irish> gotcha
- # [06:49] <liam> http://typophile.com/node/106887
- # [06:49] <paul___irish> its helpful thank you
- # [06:49] <liam> has some info
- # [06:49] <liam> I don't know if that's what John and/or Tab were thinking of though, in the match(0 case.
- # [07:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [07:36] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [07:36] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [08:57] * Quits: jdaggett (~jdaggett@public.cloak) (jdaggett)
- # [09:03] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [09:22] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [09:22] * Joins: dwim (~dwim@public.cloak)
- # [09:45] * Joins: glazou (~glazou@public.cloak)
- # [10:26] * Quits: dwim (~dwim@public.cloak) (Client closed connection)
- # [10:28] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [10:32] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
- # [11:01] * Joins: antonp (~Thunderbird@public.cloak)
- # [11:16] * Joins: antonp1 (~Thunderbird@public.cloak)
- # [11:18] * Quits: antonp (~Thunderbird@public.cloak) (Ping timeout: 180 seconds)
- # [11:44] * Quits: antonp1 (~Thunderbird@public.cloak) (antonp1)
- # [13:44] * Joins: plh (plehegar@public.cloak)
- # [14:07] * Joins: antonp (~Thunderbird@public.cloak)
- # [14:11] * Quits: zcorpan_ (~zcorpan@public.cloak) (Client closed connection)
- # [14:12] * Joins: zcorpan (~zcorpan@public.cloak)
- # [14:19] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [14:23] * Joins: eliezerb (~Eliezer@public.cloak)
- # [14:42] * Joins: zcorpan (~zcorpan@public.cloak)
- # [14:49] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [15:38] * Quits: glazou (~glazou@public.cloak) (glazou)
- # [15:43] * Joins: zcorpan (~zcorpan@public.cloak)
- # [15:46] * Joins: teoli (~teoli@public.cloak)
- # [15:46] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
- # [15:46] * Joins: teoli (~teoli@public.cloak)
- # [15:50] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [15:56] * Joins: eliezerb_2nd (~Eliezer@public.cloak)
- # [16:02] * Quits: eliezerb (~Eliezer@public.cloak) (Ping timeout: 180 seconds)
- # [16:04] * Quits: eliezerb_2nd (~Eliezer@public.cloak) ("Leaving")
- # [16:43] * Joins: zcorpan (~zcorpan@public.cloak)
- # [16:51] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [17:01] * Joins: eliezerb (~Eliezer@public.cloak)
- # [17:31] * Joins: jet (~junglecode@public.cloak)
- # [17:33] * Joins: sgalineau (~sgalineau@public.cloak)
- # [17:39] * Joins: lmcliste_ (~lmclister@public.cloak)
- # [17:44] * Joins: zcorpan (~zcorpan@public.cloak)
- # [17:51] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [18:00] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
- # [18:03] * Joins: lmcliste_ (~lmclister@public.cloak)
- # [18:10] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
- # [18:11] * Joins: teoli (~teoli@public.cloak)
- # [18:14] * Quits: jet (~junglecode@public.cloak) (jet)
- # [18:14] * Joins: jet (~junglecode@public.cloak)
- # [18:17] * Joins: teoli_ (~teoli@public.cloak)
- # [18:18] * Quits: teoli (~teoli@public.cloak) (Ping timeout: 180 seconds)
- # [18:30] * Quits: teoli_ (~teoli@public.cloak) (Client closed connection)
- # [18:31] * Joins: teoli (~teoli@public.cloak)
- # [18:38] * Quits: teoli (~teoli@public.cloak) (Ping timeout: 180 seconds)
- # [18:45] * Joins: zcorpan (~zcorpan@public.cloak)
- # [18:52] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [18:56] * Joins: dbaron (~dbaron@public.cloak)
- # [18:59] * Quits: eliezerb (~Eliezer@public.cloak) (Client closed connection)
- # [18:59] * Joins: eliezerb (~Eliezer@public.cloak)
- # [19:16] * Quits: jet (~junglecode@public.cloak) (jet)
- # [19:46] * Joins: dauwhe (~dauwhe@public.cloak)
- # [19:46] * Joins: zcorpan (~zcorpan@public.cloak)
- # [19:47] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [19:47] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [19:55] * Quits: zcorpan_ (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [20:04] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [20:06] * Joins: jet (~junglecode@public.cloak)
- # [20:09] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:11] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [20:11] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [20:18] * Quits: sgalineau (~sgalineau@public.cloak) (Client closed connection)
- # [20:18] <TabAtkins> paul___irish: As Liam said, some fonts do require sizing information, because they're a collection of sized bitmaps.
- # [20:33] * Quits: zcorpan_ (~zcorpan@public.cloak) (Client closed connection)
- # [20:34] * Joins: zcorpan (~zcorpan@public.cloak)
- # [20:35] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [20:35] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [20:37] * Joins: dauwhe (~dauwhe@public.cloak)
- # [20:44] * Quits: dauwhe (~dauwhe@public.cloak) (Client closed connection)
- # [20:48] * Quits: dbaron (~dbaron@public.cloak) (Ping timeout: 180 seconds)
- # [21:05] * Quits: jet (~junglecode@public.cloak) (jet)
- # [21:33] * Joins: adenilson (~anonymous@public.cloak)
- # [21:44] * Joins: dauwhe (~dauwhe@public.cloak)
- # [21:51] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [22:00] * Joins: jet (~junglecode@public.cloak)
- # [22:04] * Joins: dbaron (~dbaron@public.cloak)
- # [22:07] * Joins: plh3 (plehegar@public.cloak)
- # [22:10] * Quits: plh3 (plehegar@public.cloak) ("Leaving")
- # [22:13] * Quits: plh (plehegar@public.cloak) (Ping timeout: 180 seconds)
- # [22:16] * Joins: plh (plehegar@public.cloak)
- # [22:19] * Quits: zcorpan_ (~zcorpan@public.cloak) (Client closed connection)
- # [22:23] * Joins: zcorpan (~zcorpan@public.cloak)
- # [22:24] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [22:31] * Joins: teoli (~teoli@public.cloak)
- # [22:33] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [22:37] * Quits: teoli (~teoli@public.cloak) (Client closed connection)
- # [22:39] * Joins: zcorpan (~zcorpan@public.cloak)
- # [22:44] * Joins: dauwhe (~dauwhe@public.cloak)
- # [22:46] * Quits: zcorpan (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [22:51] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # [23:03] * Joins: zcorpan (~zcorpan@public.cloak)
- # [23:05] * Joins: zcorpan_ (~zcorpan@public.cloak)
- # [23:05] * Quits: zcorpan (~zcorpan@public.cloak) (Client closed connection)
- # [23:12] * Quits: zcorpan_ (~zcorpan@public.cloak) (Ping timeout: 180 seconds)
- # [23:13] * Quits: eliezerb (~Eliezer@public.cloak) ("Leaving")
- # [23:14] * Joins: eliezerb (~Eliezer@public.cloak)
- # [23:28] * Quits: lmcliste_ (~lmclister@public.cloak) ("")
- # [23:29] <paul___irish> TabAtkins: that's some crazyshit. :)
- # [23:30] <paul___irish> TabAtkins: so sounds like... "just use 10px and dont ask why. you'll be ok."
- # [23:30] <paul___irish> ya know.. for 99% of real world cases. i'm okay with that. just calling out that it is v weird. :)
- # [23:31] * Joins: lmcliste_ (~lmclister@public.cloak)
- # [23:39] * Quits: eliezerb (~Eliezer@public.cloak) (Client closed connection)
- # [23:39] * Joins: eliezerb (~Eliezer@public.cloak)
- # [23:42] * Quits: antonp (~Thunderbird@public.cloak) (antonp)
- # [23:44] * Joins: dauwhe (~dauwhe@public.cloak)
- # [23:51] * Quits: dauwhe (~dauwhe@public.cloak) (Ping timeout: 180 seconds)
- # Session Close: Wed Jan 15 00:00:00 2014
The end :)