From 9a90be098e52f0ffadb4d69d68fe226b04857639 Mon Sep 17 00:00:00 2001 From: "Jung Hyun, Nam" Date: Sat, 18 Jul 2026 20:09:49 +0900 Subject: [PATCH 1/2] =?UTF-8?q?hwplib=20=EC=84=9C=EB=B8=8C=EB=AA=A8?= =?UTF-8?q?=EB=93=88=EC=9D=84=20origin/main(d9e073d6)=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8=20=EB=B0=8F=20=EB=8F=99?= =?UTF-8?q?=EA=B8=B0=ED=99=94=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 업스트림 d9e073d6 변경 사항 반영: - FillInfo PictureInfo의 contrast/brightness 읽기·쓰기 순서를 HWP 파일 형식에 맞게 교정 (contrast 먼저, brightness 다음) 같은 커밋에 포함된 About.java 버전 문자열 변경은 C#에서는 csproj 버전으로 관리되므로 해당 없음. 이슈 #303 관련 HWPReader 수정(feff19ee)은 이미 C#에 반영되어 있음을 확인함. Co-Authored-By: Claude Fable 5 --- hwplib | 2 +- src/hwplibsharp/Reader/DocInfo/BorderFill/ForFillInfo.cs | 2 +- src/hwplibsharp/Writer/DocInfo/BorderFill/ForFillInfo.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hwplib b/hwplib index 3401b7f..d9e073d 160000 --- a/hwplib +++ b/hwplib @@ -1 +1 @@ -Subproject commit 3401b7fa2b58d8b29ffb83ac11981bfb782ea931 +Subproject commit d9e073d6899d947f8f583492e00a5e1062381d7e diff --git a/src/hwplibsharp/Reader/DocInfo/BorderFill/ForFillInfo.cs b/src/hwplibsharp/Reader/DocInfo/BorderFill/ForFillInfo.cs index e4b3521..e47b536 100644 --- a/src/hwplibsharp/Reader/DocInfo/BorderFill/ForFillInfo.cs +++ b/src/hwplibsharp/Reader/DocInfo/BorderFill/ForFillInfo.cs @@ -109,8 +109,8 @@ private static void ReadImageFill(ImageFill imf, CompoundStreamReader sr) /// 스트림 리더 public static void ReadPictureInfo(PictureInfo pi, CompoundStreamReader sr) { - pi.Brightness = sr.ReadSInt1(); pi.Contrast = sr.ReadSInt1(); + pi.Brightness = sr.ReadSInt1(); pi.Effect = PictureEffectExtensions.FromValue(sr.ReadUInt1()); pi.BinItemID = sr.ReadUInt2(); } diff --git a/src/hwplibsharp/Writer/DocInfo/BorderFill/ForFillInfo.cs b/src/hwplibsharp/Writer/DocInfo/BorderFill/ForFillInfo.cs index a50ea06..38b03b0 100644 --- a/src/hwplibsharp/Writer/DocInfo/BorderFill/ForFillInfo.cs +++ b/src/hwplibsharp/Writer/DocInfo/BorderFill/ForFillInfo.cs @@ -108,8 +108,8 @@ private static void WriteImageFill(ImageFill imf, CompoundStreamWriter sw) /// 스트림 라이터 public static void PictureInfo(PictureInfo pi, CompoundStreamWriter sw) { - sw.WriteSInt1(pi.Brightness); sw.WriteSInt1(pi.Contrast); + sw.WriteSInt1(pi.Brightness); sw.WriteUInt1((byte)pi.Effect); sw.WriteUInt2(pi.BinItemID); } From da017bfa50da95f71128910ebf6eed2465004103 Mon Sep 17 00:00:00 2001 From: "Jung Hyun, Nam" Date: Sat, 18 Jul 2026 20:09:49 +0900 Subject: [PATCH 2/2] =?UTF-8?q?1.1.10.8=20=EC=97=85=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- src/hwplibsharp/hwplibsharp.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hwplibsharp/hwplibsharp.csproj b/src/hwplibsharp/hwplibsharp.csproj index 5581374..9404c82 100644 --- a/src/hwplibsharp/hwplibsharp.csproj +++ b/src/hwplibsharp/hwplibsharp.csproj @@ -11,9 +11,9 @@ false - 1.1.10.7 - 1.1.10.7 - 1.1.10.7 + 1.1.10.8 + 1.1.10.8 + 1.1.10.8 HwpLibSharp