{"action":"created","issue":{"url":"https://api.github.com/repos/behdad/fonttools/issues/560","repository_url":"https://api.github.com/repos/behdad/fonttools","labels_url":"https://api.github.com/repos/behdad/fonttools/issues/560/labels{/name}","comments_url":"https://api.github.com/repos/behdad/fonttools/issues/560/comments","events_url":"https://api.github.com/repos/behdad/fonttools/issues/560/events","html_url":"https://github.com/behdad/fonttools/issues/560","id":143866228,"number":560,"title":"[Wish] \"Dump tables as hex data\" option in TTX","user":{"login":"Arno-Enslin","id":18100950,"avatar_url":"https://avatars.githubusercontent.com/u/18100950?v=3","gravatar_id":"","url":"https://api.github.com/users/Arno-Enslin","html_url":"https://github.com/Arno-Enslin","followers_url":"https://api.github.com/users/Arno-Enslin/followers","following_url":"https://api.github.com/users/Arno-Enslin/following{/other_user}","gists_url":"https://api.github.com/users/Arno-Enslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Arno-Enslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arno-Enslin/subscriptions","organizations_url":"https://api.github.com/users/Arno-Enslin/orgs","repos_url":"https://api.github.com/users/Arno-Enslin/repos","events_url":"https://api.github.com/users/Arno-Enslin/events{/privacy}","received_events_url":"https://api.github.com/users/Arno-Enslin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-28T00:59:16Z","updated_at":"2016-03-28T12:39:39Z","closed_at":null,"body":"There should be a \"Dump tables as hex data\" option in TTX.\r\n\r\nMy actual solution is, to temporarily rename some py files in fontTools\\ttLib\\tables\\ with the help of batch files like these:\r\n\r\n```\r\n@echo off\r\ncall FDKvars\r\n\r\nfor %%f in (%tab%*_?_*.*) do (\r\nif not %%~nf.py==C_F_F_.py if not %%~nf.py==_g_l_y_f.py if not %%~nf.py==_h_e_a_d.py if not %%~nf.py==_h_h_e_a.py if not %%~nf.py==_l_o_c_a.py if not %%~nf.py==_m_a_x_p.py if not %%~nf.py==_p_o_s_t.py if exist \"%%~dpnf.pyc\" del \"%%~dpnf.pyc\"\r\nif not %%~nf.py==C_F_F_.py if not %%~nf.py==_g_l_y_f.py if not %%~nf.py==_h_e_a_d.py if not %%~nf.py==_h_h_e_a.py if not %%~nf.py==_l_o_c_a.py if not %%~nf.py==_m_a_x_p.py if not %%~nf.py==_p_o_s_t.py if exist \"%%~dpnf.py\" ren \"%%~dpnf.py\" \"%%~nf.pyNotHex\"\r\n)\r\n@echo most tables in Hex-Mode now\r\nping 127.0.0.1 -n 3 >NUL\r\n```\r\nand back to decompile mode:\r\n\r\n```\r\n@echo off\r\ncall FDKvars\r\n\r\nfor %%f in (%tab%*_?_*.*) do (\r\nif exist \"%%~dpnf.pyc\" del \"%%~dpnf.pyc\"\r\nif exist \"%%~dpnf.pyNotHex\" ren \"%%~dpnf.pyNotHex\" \"%%~nf.py\"\r\n)\r\n@echo all tables in Decompile-Mode now\r\nping 127.0.0.1 -n 3 >NUL\r\n```\r\nThe TTX command for that would look like this\r\n\r\n**TTX -s** (split all tables in decompile mode) **-thex** (except from the following ones, which you put out as hex data)\r\n\r\n-----------------------------------\r\n\r\nAnd if you want to split all tables in hex mode:\r\n\r\n**TTX -s** (split all tables) **-hex** (in hex mode)"},"comment":{"url":"https://api.github.com/repos/behdad/fonttools/issues/comments/202369899","html_url":"https://github.com/behdad/fonttools/issues/560#issuecomment-202369899","issue_url":"https://api.github.com/repos/behdad/fonttools/issues/560","id":202369899,"user":{"login":"Arno-Enslin","id":18100950,"avatar_url":"https://avatars.githubusercontent.com/u/18100950?v=3","gravatar_id":"","url":"https://api.github.com/users/Arno-Enslin","html_url":"https://github.com/Arno-Enslin","followers_url":"https://api.github.com/users/Arno-Enslin/followers","following_url":"https://api.github.com/users/Arno-Enslin/following{/other_user}","gists_url":"https://api.github.com/users/Arno-Enslin/gists{/gist_id}","starred_url":"https://api.github.com/users/Arno-Enslin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arno-Enslin/subscriptions","organizations_url":"https://api.github.com/users/Arno-Enslin/orgs","repos_url":"https://api.github.com/users/Arno-Enslin/repos","events_url":"https://api.github.com/users/Arno-Enslin/events{/privacy}","received_events_url":"https://api.github.com/users/Arno-Enslin/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T12:39:39Z","updated_at":"2016-03-28T12:39:39Z","body":"Till the bug is fixed, it helps. Except from that I had more arguments: The file sizes and the speed. **If that option is easily to add,** the I don't see any reason, why it not should be added. As I said: Most users would not make use of it. But I assume, that there are other options, which most users never have tried."}}