upgrade libHaru to 2.3.0; make UTF-8 encoding default; some internal modifications and fixes

This commit is contained in:
Alex Fabijanic
2017-11-21 20:42:14 -06:00
parent 1724e8ba53
commit e067b19903
100 changed files with 8241 additions and 1179 deletions

View File

@@ -1,7 +1,10 @@
/*
* << Haru Free PDF Library 2.0.0 >> -- hpdf_encoder_kr.c
* << Haru Free PDF Library >> -- hpdf_encoder_kr.c
*
* URL: http://libharu.org
*
* Copyright (c) 1999-2006 Takeshi Kanno <takeshi_kanno@est.hi-ho.ne.jp>
* Copyright (c) 2007-2009 Antony Dovgal <tony@daylessday.org>
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
@@ -27639,6 +27642,7 @@ static HPDF_BOOL
KSCms_UHC_IsLeadByte (HPDF_Encoder encoder,
HPDF_BYTE b)
{
HPDF_UNUSED (encoder);
return (b >= 0x81 && b <= 0xFE);
}
@@ -27647,6 +27651,7 @@ static HPDF_BOOL
KSCms_UHC_IsTrialByte (HPDF_Encoder encoder,
HPDF_BYTE b)
{
HPDF_UNUSED (encoder);
return (b >= 0x41 && b <= 0xfe);
}
@@ -27804,6 +27809,7 @@ static HPDF_BOOL
KSC_EUC_IsLeadByte (HPDF_Encoder encoder,
HPDF_BYTE b)
{
HPDF_UNUSED (encoder);
return (b >= 0xa1 && b <= 0xfe);
}
@@ -27812,6 +27818,7 @@ static HPDF_BOOL
KSC_EUC_IsTrialByte (HPDF_Encoder encoder,
HPDF_BYTE b)
{
HPDF_UNUSED (encoder);
return (b >= 0xa0 && b <= 0xfe);
}