IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2016/03/02)20160303 
RobinWattsLenovo paulgardiner: How are you set for going for food?01:23.38 
simayang some one here?01:32.01 
  i got a problem with insert chinese annotation text 01:32.43 
  http://stackoverflow.com/questions/35741304/mupdf-with-chinese-text-annotation 01:32.52 
  maybe who can help me with this ... 01:33.43 
  hello?01:38.59 
RobinWattsLenovo What encoding is the text in?01:43.11 
  I suspect it should *either* be in utf8, or pdfdocenc... or something else.01:43.31 
simayang but i think there is ascii in code 01:44.11 
RobinWattsLenovo Chinese characters don't occur in ascii :)01:44.50 
simayang i just use like this : char* text = "你好" and use this method pdf_set_free_text_details(fz_context *ctx, pdf_document *doc, pdf_annot *annot, fz_point *pos, char *text, char *font_name, float font_size, float color[3]);01:45.07 
RobinWattsLenovo yes, I understand.01:45.19 
simayang yes . you are right , but i do not know how to change ascii to utf-801:45.49 
RobinWattsLenovo So text is a pointer to a stream of chars.01:46.12 
simayang can you help me with some code to solve thie problem?01:46.53 
RobinWattsLenovo Let's say the first chinese char there is unicode 0x123401:46.54 
  0x1234 doesn't fit into a char.01:47.23 
  So it will be 'encoded' in.01:47.37 
  utf8 would send that as a series of top bit set chars.01:48.15 
  pdfenc would send them some other way.01:48.21 
simayang how to 'encode' with c code01:48.29 
RobinWattsLenovo I can't help you more at the moment, sorry. I don't have time.01:48.40 
  You've picked a bad time as we're all at a staff meeting for the next few days.01:49.07 
simayang haha.. sorry 01:49.24 
  ok . it does matter , i`ll wait here until staff back 01:50.35 
els Hi people. Need help about shortcut for mupdf. Actually, how can I save page that should automatic opened next time? And how to restart this. Thanks.16:46.26 
 Forward 1 day (to 2016/03/04)>>> 
ghostscript.com
Search: