{"action":"closed","issue":{"url":"https://api.github.com/repos/dompdf/dompdf/issues/1077","labels_url":"https://api.github.com/repos/dompdf/dompdf/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/dompdf/dompdf/issues/1077/comments","events_url":"https://api.github.com/repos/dompdf/dompdf/issues/1077/events","html_url":"https://github.com/dompdf/dompdf/issues/1077","id":124472118,"number":1077,"title":"Undefined offset 0","user":{"login":"Ciloe","id":1830492,"avatar_url":"https://avatars.githubusercontent.com/u/1830492?v=3","gravatar_id":"","url":"https://api.github.com/users/Ciloe","html_url":"https://github.com/Ciloe","followers_url":"https://api.github.com/users/Ciloe/followers","following_url":"https://api.github.com/users/Ciloe/following{/other_user}","gists_url":"https://api.github.com/users/Ciloe/gists{/gist_id}","starred_url":"https://api.github.com/users/Ciloe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ciloe/subscriptions","organizations_url":"https://api.github.com/users/Ciloe/orgs","repos_url":"https://api.github.com/users/Ciloe/repos","events_url":"https://api.github.com/users/Ciloe/events{/privacy}","received_events_url":"https://api.github.com/users/Ciloe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-31T13:45:19Z","updated_at":"2016-01-04T14:58:18Z","closed_at":"2016-01-04T14:58:18Z","body":"Hi, \r\n\r\nI have this error : \r\n ```shell\r\nNotice: Undefined offset: 0\" at C:\\wamp\\www\\aqualast\\vendor\\slik\\dompdf-bundle\\Slik\\DompdfBundle\\DomPDF\\include\\style.cls.php line 836\r\n```\r\n\r\nBecause I'm generating an html barcode with sgk/barcode-bundle. But in their file they have this style attribute : \r\n```style\r\nfont-size:0;\r\n```\r\n\r\nBut for you this is impossible.\r\n\r\nCan you add in \r\n```php\r\nstatic $font_size_keywords = array(\r\n    \"xx-small\" => 0.6,   // 3/5\r\n    \"x-small\"  => 0.75,  // 3/4\r\n    \"small\"    => 0.889, // 8/9\r\n    \"medium\"   => 1,     // 1\r\n    \"large\"    => 1.2,   // 6/5\r\n    \"x-large\"  => 1.5,   // 3/2\r\n    \"xx-large\" => 2.0,   // 2/1\r\n  );\r\n```\r\n\r\nthe index 0 or allowed the 0 font size ?\r\n\r\nThank you :)"}}