Commit Diff


commit - 4c8632507fb28092f7540248e372e0d1620fc1c5
commit + 70f1f0b8d4bf42dcfa38c9e9b61c8e5d2b4ade0a
blob - 073a4ec8f1fb879ceaacafe6890964ddcccae8c5
blob + 898d07f7f2434a0d046653449c789bf27f00eb41
--- pdf.c
+++ pdf.c
@@ -2593,15 +2593,15 @@ init_parser(struct Env *aux)
 	 * Text Objects Extraction - embedded in content streams
 	 */
 
-    H_RULE(txt_before_junk, IGN(SEQ(h_not(LIT("BT")), CHX(comment, h_uint8()))));
+	H_RULE(txt_before_junk, IGN(SEQ(h_not(LIT("BT")), CHX(comment, h_uint8()))));
 	H_RULE(txtbegin, SEQ(IGN(h_many(txt_before_junk)), LIT("BT"), aws));
 	H_RULE(txtend, KW("ET"));
 	/* 9.3 - Text state operators */
-    H_AVRULE(tnumb, numb);
-    HParser *Tc_op = h_action(SEQ(tnumb, aws, LIT("Tc"), aws), act_Tc_op, aux);  /* 9.3.2 - charSpace */
-    HParser *Tw_op = h_action(SEQ(tnumb, aws, LIT("Tw"), aws), act_Tw_op, aux);  /* 9.3.3 - wordSpace */
-    HParser *Tz_op = h_action(SEQ(tnumb, aws, LIT("Tz"), aws), act_Tz_op, aux);  /* 9.3.4 - horizontal scaling */
-    HParser *TL_op = h_action(SEQ(tnumb, aws, LIT("TL"), aws), act_TL_op, aux);  /* 9.3.5 - leading */
+	H_AVRULE(tnumb, numb);
+	HParser *Tc_op = h_action(SEQ(tnumb, aws, LIT("Tc"), aws), act_Tc_op, aux);  /* 9.3.2 - charSpace */
+	HParser *Tw_op = h_action(SEQ(tnumb, aws, LIT("Tw"), aws), act_Tw_op, aux);  /* 9.3.3 - wordSpace */
+	HParser *Tz_op = h_action(SEQ(tnumb, aws, LIT("Tz"), aws), act_Tz_op, aux);  /* 9.3.4 - horizontal scaling */
+	HParser *TL_op = h_action(SEQ(tnumb, aws, LIT("TL"), aws), act_TL_op, aux);  /* 9.3.5 - leading */
 	HParser *Tf_op = h_action(SEQ(name, aws, numbnn, aws, KW("Tf"), aws), act_Tf_op, aux);  /* font and size */
 	/* TDO: must map to an existing font dictionary */
 	H_VRULE(tmode, nat);                        /* True if <= 7 */
@@ -2627,8 +2627,8 @@ init_parser(struct Env *aux)
 	HParser *TJ_op       = h_action(SEQ(IGN(lbrack), aws, h_many(TArr_elem), IGN(rbrack), aws, LIT("TJ"), aws), act_TJ_op, aux);      /* show one or more text strings */
 	H_RULE(textshow_ops, CHX(Tj_op, TsingleQ_op, TdoubleQ_op, TJ_op));
 
-    H_RULE(text_inbetween_junk, IGN(SEQ(h_not(txtend), h_uint8())));
-    H_RULE(text_ops, CHX(textstate_ops, textpos_ops, textshow_ops, text_inbetween_junk));
+	H_RULE(text_inbetween_junk, IGN(SEQ(h_not(txtend), h_uint8())));
+	H_RULE(text_ops, CHX(textstate_ops, textpos_ops, textshow_ops, text_inbetween_junk));
 
 	/* Text object */
     HParser *txtobj = h_action(SEQ(txtbegin, h_many(text_ops), txtend), act_txtobj, aux);