mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
upgrade libHaru to 2.3.0; make UTF-8 encoding default; some internal modifications and fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user