diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-11-23 11:04:58 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-23 11:17:34 +0100 |
commit | 91344b2e291b8fe9736860ad5142dccc07866b22 (patch) | |
tree | a94165cb3e80361a24cc4754987b587ae7d60412 /source | |
parent | cb44c9ae591ae5cdfda932f04bf321932a0e1d0f (diff) | |
download | mupdf-91344b2e291b8fe9736860ad5142dccc07866b22.tar.xz |
Fix sorting of cmap lists.
Sorting with LC_ALL set to anything other than "C" is folly!
Diffstat (limited to 'source')
-rw-r--r-- | source/pdf/pdf-cmap-table.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/pdf/pdf-cmap-table.c b/source/pdf/pdf-cmap-table.c index 49068d6a..eb94ee6e 100644 --- a/source/pdf/pdf-cmap-table.c +++ b/source/pdf/pdf-cmap-table.c @@ -27,10 +27,10 @@ struct table { const char *name; pdf_cmap *cmap; }; static const struct table table_cjk[] = { {"83pv-RKSJ-H",&cmap_83pv_RKSJ_H}, - {"90msp-RKSJ-H",&cmap_90msp_RKSJ_H}, - {"90msp-RKSJ-V",&cmap_90msp_RKSJ_V}, {"90ms-RKSJ-H",&cmap_90ms_RKSJ_H}, {"90ms-RKSJ-V",&cmap_90ms_RKSJ_V}, + {"90msp-RKSJ-H",&cmap_90msp_RKSJ_H}, + {"90msp-RKSJ-V",&cmap_90msp_RKSJ_V}, {"90pv-RKSJ-H",&cmap_90pv_RKSJ_H}, {"Add-RKSJ-H",&cmap_Add_RKSJ_H}, {"Add-RKSJ-V",&cmap_Add_RKSJ_V}, @@ -52,10 +52,10 @@ static const struct table table_cjk[] = {"Ext-RKSJ-V",&cmap_Ext_RKSJ_V}, {"GB-EUC-H",&cmap_GB_EUC_H}, {"GB-EUC-V",&cmap_GB_EUC_V}, - {"GBK2K-H",&cmap_GBK2K_H}, - {"GBK2K-V",&cmap_GBK2K_V}, {"GBK-EUC-H",&cmap_GBK_EUC_H}, {"GBK-EUC-V",&cmap_GBK_EUC_V}, + {"GBK2K-H",&cmap_GBK2K_H}, + {"GBK2K-V",&cmap_GBK2K_V}, {"GBKp-EUC-H",&cmap_GBKp_EUC_H}, {"GBKp-EUC-V",&cmap_GBKp_EUC_V}, {"GBpc-EUC-H",&cmap_GBpc_EUC_H}, @@ -86,8 +86,8 @@ static const struct table table_cjk[] = {"UniJIS-UCS2-V",&cmap_UniJIS_UCS2_V}, {"UniJIS-UTF16-H",&cmap_UniJIS_UTF16_H}, {"UniJIS-UTF16-V",&cmap_UniJIS_UTF16_V}, - {"UniJIS-X16",&cmap_UniJIS_X16}, {"UniJIS-X",&cmap_UniJIS_X}, + {"UniJIS-X16",&cmap_UniJIS_X16}, {"UniKS-UCS2-H",&cmap_UniKS_UCS2_H}, {"UniKS-UCS2-V",&cmap_UniKS_UCS2_V}, {"UniKS-UTF16-H",&cmap_UniKS_UTF16_H}, |