Skip to content

Commit

Permalink
move the single bars 1 point to the left
Browse files Browse the repository at this point in the history
Issue #109.
  • Loading branch information
moinejf committed Feb 5, 2022
1 parent 2ccecf3 commit e3282f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,6 +1244,7 @@ static void draw_bar(struct SYMBOL *s, float bot, float h)
case B_BAR:
if (s->u.bar.dotted)
psf = "dotbar";
x -= 1;
break;
case B_OBRA:
case B_CBRA:
Expand Down
2 changes: 1 addition & 1 deletion syms.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ static char ps_head[] =

/* -- bars -- */
/* h x y bar - thin bar */
"/bar{M 1 SLW 0 exch RL stroke}!\n"
"/bar{3 -1 roll 1 exch rectfill}!\n"
/* h x y dotbar - dotted bar */
"/dotbar{[5] 0 setdash bar [] 0 setdash}!\n"
/* h x y thbar - thick bar */
Expand Down

0 comments on commit e3282f8

Please sign in to comment.