Skip to content

Commit

Permalink
add screen dpi property in koptcontext
Browse files Browse the repository at this point in the history
  • Loading branch information
chrox committed Nov 27, 2012
1 parent d9ed4f0 commit 5984acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions koptreflow.c
Expand Up @@ -107,6 +107,7 @@ static void k2pdfopt_settings_init_from_koptcontext(
/* Apply context */
k2settings->dst_userwidth = kctx->dev_width;
k2settings->dst_userheight = kctx->dev_height;
k2settings->dst_dpi = kctx->dev_dpi;
k2settings->vertical_line_spacing = kctx->line_spacing;
k2settings->word_spacing = kctx->word_spacing;
k2settings->text_wrap = kctx->wrap;
Expand Down
1 change: 1 addition & 0 deletions koptreflow.h
Expand Up @@ -40,6 +40,7 @@ typedef struct KOPTContext {
int columns;
int offset_x;
int offset_y;
int dev_dpi;
int dev_width;
int dev_height;
int page_width;
Expand Down

0 comments on commit 5984acd

Please sign in to comment.