Permalink
Browse files

twenty = zero

  • Loading branch information...
1 parent f5108da commit de3ea5f70b292b65e7e5a9dfa77ac2d91ea52d9f @comex committed Apr 29, 2011
Showing with 12 additions and 4 deletions.
  1. +7 −2 catalog/catalog.py
  2. +1 −0 dejavu/dejavu.raw.template
  3. +1 −1 dejavu/gen_dejavu.raw.py
  4. +3 −1 install/install.m
View
@@ -193,8 +193,13 @@ def wrap(num):
if mode == 'dejavu':
final = pad(finalize(reloc(0xd, 0)), 4)
- # add sp, #400; pop {r4, r5, pc}
- parse_callback = 0xdeadbeef #dmini.cur.find_basic('+ 64 b0 30 bd').value
+ #.long 0xbd64b062
+ #.long 0xbd60b060
+ #.long 0xbd30b050
+ #.long 0xbd49b060
+
+ # add sp, #392; pop {r2, r5, r6, pc}
+ parse_callback = dmini.cur.find_basic('+ 50 b0 30 bd').value
actual_parse_callback = dmini.cur.private_sym('ft._T1_Parse_Glyph').value
final = final.unpack()
@@ -9,6 +9,7 @@
end readonly def
/BlendDesignPositions [[0 0]] def
/BlendDesignMap [[0] [0]] def
+/BlendAxisTypes [/A /B] def
/TerminalFun %TERMFUN% def
/Private
/lenIV -1 def
@@ -185,7 +185,7 @@ def encode_unknown(s):
0 0 0 64 64 seac % 64 = @
endchar % unnecessary if it worked''' \
- .format(twenty=-(20 - 1), go_up_amount = -(344 - 7 - 20))
+ .format(twenty=-(0 - 1), go_up_amount = -(344 - 7 - 0))
#4 27 callothersubr % 0 <= it ? 1 : 2
for idx, data in enumerate(stuff):
View
@@ -144,7 +144,6 @@ static void qstat(const char *path) {
struct lzmactx {
lzma_stream strm;
uint8_t buf[BUFSIZ];
- uint8_t in_buf[BUFSIZ];
char *read_buf;
int read_len;
};
@@ -176,6 +175,9 @@ static int lzmaclose(int fd) {
}
static ssize_t lzmaread(int fd, void *buf_, size_t len) {
+ /* what is this crap *doing*?
+ why can't I just make buf_ the avail_out?
+ */
struct lzmactx *ctx = (void *) fd;
char *buf = buf_;
while(len > 0) {

0 comments on commit de3ea5f

Please sign in to comment.