[evince] backends: Fix typos in dvi backend



commit 5dbdd9f7f23fe2dbbb21bbc2f68299fbe88f5169
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Thu May 21 21:52:35 2020 -0400

    backends: Fix typos in dvi backend

 backend/dvi/mdvi-lib/afmparse.c | 2 +-
 backend/dvi/mdvi-lib/afmparse.h | 4 ++--
 backend/dvi/mdvi-lib/mdvi.h     | 2 +-
 backend/dvi/mdvi-lib/t1.c       | 2 +-
 backend/dvi/mdvi-lib/tfm.c      | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/backend/dvi/mdvi-lib/afmparse.c b/backend/dvi/mdvi-lib/afmparse.c
index f90e5575..b41332dd 100644
--- a/backend/dvi/mdvi-lib/afmparse.c
+++ b/backend/dvi/mdvi-lib/afmparse.c
@@ -29,7 +29,7 @@
 
 /* parseAFM.c
  * 
- * This file is used in conjuction with the parseAFM.h header file.
+ * This file is used in conjunction with the parseAFM.h header file.
  * This file contains several procedures that are used to parse AFM
  * files. It is intended to work with an application program that needs
  * font metric information. The program can be used as is by making a
diff --git a/backend/dvi/mdvi-lib/afmparse.h b/backend/dvi/mdvi-lib/afmparse.h
index 6cce780c..0e093102 100644
--- a/backend/dvi/mdvi-lib/afmparse.h
+++ b/backend/dvi/mdvi-lib/afmparse.h
@@ -23,7 +23,7 @@
 
 /* ParseAFM.h
  *
- * This header file is used in conjuction with the parseAFM.c file.
+ * This header file is used in conjunction with the parseAFM.c file.
  * Together these files provide the functionality to parse Adobe Font
  * Metrics files and store the information in predefined data structures.
  * It is intended to work with an application program that needs font metric
@@ -289,7 +289,7 @@ typedef struct
  *
  *  "fp" should be a valid file pointer to an AFM file.
  *
- *  "fi" is a pointer to a pointer to a FontInfo record sturcture 
+ *  "fi" is a pointer to a pointer to a FontInfo record structure 
  *  (defined above). Storage for the FontInfo structure will be
  *  allocated in parseFile and the structure will be filled in
  *  with the requested data from the AFM File.
diff --git a/backend/dvi/mdvi-lib/mdvi.h b/backend/dvi/mdvi-lib/mdvi.h
index 37664a76..05b83007 100644
--- a/backend/dvi/mdvi-lib/mdvi.h
+++ b/backend/dvi/mdvi-lib/mdvi.h
@@ -364,7 +364,7 @@ struct _DviContext {
        FILE    *in;            /* from here we read */
        char    *fileid;        /* from preamble */
        int     npages;         /* number of pages */
-       int     currpage;       /* currrent page (0 based) */
+       int     currpage;       /* current page (0 based) */
        int     depth;          /* recursion depth */
        DviBuffer buffer;       /* input buffer */
        DviParams params;       /* parameters */
diff --git a/backend/dvi/mdvi-lib/t1.c b/backend/dvi/mdvi-lib/t1.c
index d63f055c..ef489ae4 100644
--- a/backend/dvi/mdvi-lib/t1.c
+++ b/backend/dvi/mdvi-lib/t1.c
@@ -563,7 +563,7 @@ static void t1_font_remove(T1Info *info)
        /* first remove it from our list */
        listh_remove(&t1fonts, LIST(info));
 
-       /* it it's in the hash table, we may need to replace this by another font */
+       /* if it's in the hash table, we may need to replace this by another font */
        old = (T1Info *)mdvi_hash_lookup(&t1hash, (unsigned char *)info->fontname);
        if(old == info) {
                mdvi_hash_remove(&t1hash, (unsigned char *) info->fontname);
diff --git a/backend/dvi/mdvi-lib/tfm.c b/backend/dvi/mdvi-lib/tfm.c
index f37de0be..38f77653 100644
--- a/backend/dvi/mdvi-lib/tfm.c
+++ b/backend/dvi/mdvi-lib/tfm.c
@@ -77,7 +77,7 @@ DviFontInfo afm_font_info = {
 /* 
  * Although it does not seem that way, this conversion is independent of the
  * shrinking factors, within roundoff (that's because `conv' and `vconv'
- * have already been scaled by hshrink and vshrink, repsectively). We
+ * have already been scaled by hshrink and vshrink, respectively). We
  * should really use `dviconv' and `dvivconv', but I'm not so sure those
  * should be moved to the DviParams structure.
  */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]