summaryrefslogtreecommitdiff
path: root/source/t/tetex/tetex.afm2tfm.getline.diff
blob: 8406aa891935471e4144140d147f4c52be1696d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- ./texk/dvipsk/afm2tfm.c.orig	2005-01-30 07:17:09.000000000 -0600
+++ ./texk/dvipsk/afm2tfm.c	2010-02-19 11:56:12.000000000 -0600
@@ -257,7 +257,7 @@
 }
 
 int
-getline P1H(void) {
+afm_int_getline P1H(void) {
    register char *p ;
    register int c ;
 
@@ -606,7 +606,7 @@
    ai = newchar() ;
    ai->adobenum = -1 ;
    ai->adobename = "||" ; /* boundary character name */
-   while (getline()) {
+   while (afm_int_getline()) {
       switch(interest(paramstring())) {
 case FontName:
          fontname = paramnewstring() ;
@@ -1882,7 +1882,7 @@
 
    while (1) {
       while (param == 0 || *param == 0) {
-         if (getline() == 0)
+         if (afm_int_getline() == 0)
             error("! premature end in encoding file") ;
          for (p=buffer; *p; p++)
             if (*p == '%') {
@@ -1973,7 +1973,7 @@
       p = gettoken() ;
       if (strcmp(p, "]"))
          error("! token 258 in encoding must be make-array (])") ;
-      while (getline()) {
+      while (afm_int_getline()) {
          for (p=buffer; *p; p++)
             if (*p == '%') {
                if (ignoreligkern == 0)