mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +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_jp.c
|
||||
* << Haru Free PDF Library >> -- hpdf_encoder_jp.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,
|
||||
@@ -15769,6 +15772,7 @@ static HPDF_BOOL
|
||||
RKSJ_IsLeadByte (HPDF_Encoder encoder,
|
||||
HPDF_BYTE b)
|
||||
{
|
||||
HPDF_UNUSED (encoder);
|
||||
return ((b >= 0x81 && b <= 0x9f) || (b >= 0xe0 && b <= 0xfc));
|
||||
}
|
||||
|
||||
@@ -15777,6 +15781,7 @@ static HPDF_BOOL
|
||||
RKSJ_IsTrialByte (HPDF_Encoder encoder,
|
||||
HPDF_BYTE b)
|
||||
{
|
||||
HPDF_UNUSED (encoder);
|
||||
return (b >= 0x40 && b <= 0xfc && b != 0x7f);
|
||||
}
|
||||
|
||||
@@ -15950,6 +15955,7 @@ static HPDF_BOOL
|
||||
EUC_IsLeadByte (HPDF_Encoder encoder,
|
||||
HPDF_BYTE b)
|
||||
{
|
||||
HPDF_UNUSED (encoder);
|
||||
return ((b >= 0xa1 && b <= 0xfe) || b == 0x8e);
|
||||
}
|
||||
|
||||
@@ -15958,6 +15964,7 @@ static HPDF_BOOL
|
||||
EUC_IsTrialByte (HPDF_Encoder encoder,
|
||||
HPDF_BYTE b)
|
||||
{
|
||||
HPDF_UNUSED (encoder);
|
||||
return (b >= 0xa0 && b <= 0xfe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user