{"action":"created","issue":{"url":"https://api.github.com/repos/lmsgit/lms/issues/589","repository_url":"https://api.github.com/repos/lmsgit/lms","labels_url":"https://api.github.com/repos/lmsgit/lms/issues/589/labels{/name}","comments_url":"https://api.github.com/repos/lmsgit/lms/issues/589/comments","events_url":"https://api.github.com/repos/lmsgit/lms/issues/589/events","html_url":"https://github.com/lmsgit/lms/issues/589","id":131960007,"number":589,"title":"czcionki w dokumentach TCPDF","user":{"login":"maciejlew","id":3950004,"avatar_url":"https://avatars.githubusercontent.com/u/3950004?v=3","gravatar_id":"","url":"https://api.github.com/users/maciejlew","html_url":"https://github.com/maciejlew","followers_url":"https://api.github.com/users/maciejlew/followers","following_url":"https://api.github.com/users/maciejlew/following{/other_user}","gists_url":"https://api.github.com/users/maciejlew/gists{/gist_id}","starred_url":"https://api.github.com/users/maciejlew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maciejlew/subscriptions","organizations_url":"https://api.github.com/users/maciejlew/orgs","repos_url":"https://api.github.com/users/maciejlew/repos","events_url":"https://api.github.com/users/maciejlew/events{/privacy}","received_events_url":"https://api.github.com/users/maciejlew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lmsgit/lms/labels/BUG","name":"BUG","color":"e11d21"},{"url":"https://api.github.com/repos/lmsgit/lms/labels/STABLE%20BLOCKER","name":"STABLE BLOCKER","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":45,"created_at":"2016-02-07T11:24:41Z","updated_at":"2016-03-05T22:08:55Z","closed_at":null,"body":"Przy okazji przenoszenia TCPDF to Composera zauważyłem że biblioteka ta pozwala na definiowanie czcionek per dokument na trzy sposoby (http://www.tcpdf.org/fonts.php):\r\n- not embedded, \r\n- embdded,\r\n- subset embedded.\r\n\r\nNa chwilę obecną używany drugiej opcji załączając czcionkę Arial z kodowaniem latin2. Powoduje to że dokumenty są takie duże jakie są czyli około 120kB. W PDF znajduje się czcionka Arial i Arial Bold. Próbowałem dodać tylko subset polskich znaków ale na razie bez powodzenia. Niezałączanie czcionek powodowałoby że czcionka jest szukana w systemie u klienta, jest duże prawdopodobieństwo że wszyscy maja Arial oraz spowodowałoby to zmniejszenie wagi plików faktur i czasu ich wysyłania. I teraz pytanie: czy ktoś wie czy z prawnego punktu widzenia czcionka na fakturze musi być zawsze taka sama?"},"comment":{"url":"https://api.github.com/repos/lmsgit/lms/issues/comments/192750763","html_url":"https://github.com/lmsgit/lms/issues/589#issuecomment-192750763","issue_url":"https://api.github.com/repos/lmsgit/lms/issues/589","id":192750763,"user":{"login":"pjona","id":170732,"avatar_url":"https://avatars.githubusercontent.com/u/170732?v=3","gravatar_id":"","url":"https://api.github.com/users/pjona","html_url":"https://github.com/pjona","followers_url":"https://api.github.com/users/pjona/followers","following_url":"https://api.github.com/users/pjona/following{/other_user}","gists_url":"https://api.github.com/users/pjona/gists{/gist_id}","starred_url":"https://api.github.com/users/pjona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjona/subscriptions","organizations_url":"https://api.github.com/users/pjona/orgs","repos_url":"https://api.github.com/users/pjona/repos","events_url":"https://api.github.com/users/pjona/events{/privacy}","received_events_url":"https://api.github.com/users/pjona/received_events","type":"User","site_admin":false},"created_at":"2016-03-05T22:08:55Z","updated_at":"2016-03-05T22:08:55Z","body":"Hm... bo 5.3 już nie ma supportu od 14 sierpnia 2014 (~1,5 roku temu)"}}