{"id":81,"date":"2010-11-05T23:41:39","date_gmt":"2010-11-05T18:41:39","guid":{"rendered":"http:\/\/www.zubair.info\/blog\/?p=81"},"modified":"2019-08-13T19:40:29","modified_gmt":"2019-08-13T14:40:29","slug":"css-font-style-oblique-vs-italic","status":"publish","type":"post","link":"https:\/\/www.zubair.info\/blog\/2010\/11\/05\/css-font-style-oblique-vs-italic.html","title":{"rendered":"CSS font-style: oblique vs italic"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-83\" title=\"css-font-style-oblique-vs-italic\" src=\"http:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic.gif\" alt=\"css font-style: oblique vs italic\" width=\"400\" height=\"200\" srcset=\"https:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic.gif 400w, https:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic-300x150.gif 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/> <\/p>\n<h3>What&#8217;s the difference between CSS&#8217;s oblique vs italic?<\/h3>\n<blockquote><p><strong>Oblique<\/strong> type (or slanted, sloped) is a form of type that slants slightly to the right, used in the same manner as italic type. Unlike italic type, however, it does not use different glyph shapes; it uses the same glyphs as roman type, except distorted. (<a title=\"Read more about Oblique on Wikipedia!\" href=\"http:\/\/en.wikipedia.org\/wiki\/Oblique_type\" target=\"_blank\" rel=\"noopener noreferrer\">Wikipedia<\/a>)<\/p><\/blockquote>\n<p> I was very curious to find out what&#8217;s the real difference between an Oblique style and a Italic style used in font-style CSS property. I&#8217;ll be sharing what i found about the differences. <em>Visually<\/em>, the difference can be sometime hard to notice. The <strong>Oblique Style<\/strong> uses the same font as <code>Normal<\/code> (non-italic version of the font-type \/ font-face) but skews (slants) it to the right a-little before presenting it to the screen &#8211; it looks less readable than the <strong>true<\/strong> <code>Italic<\/code> version. While the <strong>Italic Style<\/strong> uses a <code>Italic<\/code> <strong>type\/version<\/strong> of the font, most of the time almost all fonts have a <code>Italic<\/code> version of the font which has special characters defined for it. But that is not <em>Always<\/em> the case, some times the Font Designer doesn&#8217;t provide those and only provides the <code>Normal<\/code> version of the font. <a href=\"http:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic-example.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-84\" title=\"css font-style: oblique vs italic example\" src=\"http:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic-example.gif\" alt=\"css font-style oblique vs italic example\" width=\"500\" height=\"99\" srcset=\"https:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic-example.gif 500w, https:\/\/www.zubair.info\/blog\/wp-content\/uploads\/2010\/11\/post-css-font-style-oblique-vs-italic-example-300x59.gif 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a> So if you are using <code>Italic<\/code> on a font-type (font-face) that doesn&#8217;t have its own <strong>true<\/strong> <code>Italic<\/code> version of the font, it will automatically use the <code>Oblique<\/code> version which just uses the regular version of the font but skews \/ slants it a-little to the right so it appear as if it were the <code>Italic<\/code> version but i think it would be called more like a <strong>fake<\/strong> <code>Italic<\/code>. Please comment and let me know if i missed something or if you found this post helpful &#8211; OR if there is anything i can do to improve the post \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s the difference between CSS&#8217;s oblique vs italic? Oblique type (or slanted, sloped) is a form of type that slants slightly to the right, used in the same manner as italic type. Unlike italic type, however, it does not use different glyph shapes; it uses the same glyphs as roman type, except distorted. (Wikipedia) I [&hellip;]<\/p>\n","protected":false},"author":1001009,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[98,48,47,49,50,51,52,53],"class_list":["post-81","post","type-post","status-publish","format-standard","hentry","category-css","tag-css","tag-css-property","tag-css-style","tag-font-style","tag-fonts","tag-italic","tag-obliqued","tag-web-design"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/posts\/81","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/users\/1001009"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/comments?post=81"}],"version-history":[{"count":0,"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/posts\/81\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/media?parent=81"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/categories?post=81"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubair.info\/blog\/wp-json\/wp\/v2\/tags?post=81"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}