Commit 57a446c
authored
back/cairo: give cairo a UTF-8 filename for PS and PDF output (#140)
cairo_ps_surface_create and cairo_pdf_surface_create take a UTF-8 char* file
name, but -fileSystemRepresentation returns a UTF-16 unichar* on Windows, so the
PS and PDF surfaces did not compile there. Use -UTF8String, which is a UTF-8
char* on every platform.1 parent 23a6f27 commit 57a446c
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments