From patchwork Tue Jun 16 08:24:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike FABIAN X-Patchwork-Id: 39637 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5A6C4388A800; Tue, 16 Jun 2020 08:25:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5A6C4388A800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1592295948; bh=UBWgxzPRNhaPDxDOh2oqcUyNOLuQ3I3/5WsXsuYNiuU=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=wRMKNCleCLkDLVajhJupdM7CWFRuba8/e+2GT4ZQ9kKzzJkamqKcSX0vTmXDKDQvD Mxo3irGyMYo5gUuWvy1674CIfCUrCf2PqhxNdLx+n6H7joULu42ONvp8thujYjcHw6 NuYSTc7Wsca2TFRm3kUdE9tHhlpsZXCmIFzcFzxY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 6A708383F84F for ; Tue, 16 Jun 2020 08:25:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6A708383F84F Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-150-54qmkpGZNKShU_2iNCm0VQ-1; Tue, 16 Jun 2020 04:25:01 -0400 X-MC-Unique: 54qmkpGZNKShU_2iNCm0VQ-1 Received: by mail-wr1-f69.google.com with SMTP id n6so8015004wrv.6 for ; Tue, 16 Jun 2020 01:25:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version:content-disposition :content-transfer-encoding; bh=UBWgxzPRNhaPDxDOh2oqcUyNOLuQ3I3/5WsXsuYNiuU=; b=cqqJ7Z+7r0apWdivzvJ9hjYMdZdd0IlgEOTTAYIcskI/tsfiE978I10xJLTNe/WlPY lEpMxY7EFsZp8a6y74OgHsNv7YP3hNLn9nEcYZCIa/bBvMvepYV6vAHu1eaj/MjL9/QH b+ePaQOBi2BrZO3OcGczxlFlKd58QRkp4Wlpl3U32WMdTU7MJ7xhmxn8hzvogvw5OI3w ATrbC11ZViI69haCmC1eQ3jNCHrof924BzKV+/rZhNl6MDXGnnra6UxyL7g8iuxjJoot 0c9jZKxWfC+yHtguXqyPF6YcojrkzYi2aFjq33JvYoGdUuwAaIeh43wYIeR75tkxOLq2 1h8w== X-Gm-Message-State: AOAM5331d4DRvPW7rjxsPgDLBfm6Mi7chXnNOT6CjMrGbc5O4oRjr6X8 0bAPZ7TA0/KKVAYVFYg63SHgtkzoJAGYR3EdpjRFdqeRrFOGg0UhPSBG+2JHedzcM0fqg1O/sis +mnkVqxtLFU5PzBix6Ww= X-Received: by 2002:a1c:9dc7:: with SMTP id g190mr2087422wme.129.1592295900752; Tue, 16 Jun 2020 01:25:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgrssgrZzzqc/ZsDF/51rsKLVVkyszDFapv+SvXBElVF1Xy3Z0CxmqGdrwxEZWGVfLe3yFdQ== X-Received: by 2002:a1c:9dc7:: with SMTP id g190mr2087405wme.129.1592295900534; Tue, 16 Jun 2020 01:25:00 -0700 (PDT) Received: from taka.site (ppp-46-244-205-19.dynamic.mnet-online.de. [46.244.205.19]) by smtp.gmail.com with ESMTPSA id p16sm30456269wru.27.2020.06.16.01.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jun 2020 01:25:00 -0700 (PDT) Received: from taka.site (localhost [IPv6:::1]) by taka.site (Postfix) with ESMTP id 1B0633C1; Tue, 16 Jun 2020 10:24:59 +0200 (CEST) To: libc-alpha@sourceware.org Subject: [PATCH] Set width of JUNGSEONG/JONGSEONG characters from UD7B0 to UD7FB to 0 [BZ #26120] Organization: Red Hat X-Face: "'; oPz9V1+<,`}1ZuxRv~EiSusWq*{Yjr"Sdvbhq'?q=2R\\6Y9O/,SAE`{J|6I=|w/sQg< rW_N'E3IV6~f8?\l#Es`]S`mv',PY(`8{$$R?+gLu}Qv/Mn>)?uladFjJ@yl!_p_Jh; 5QxlD6zL:?r IXe4FfK$C^mWhh$o`yt; .r.FLZLQOWBt> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline; filename=0001-Set-width-of-JUNGSEONG-JONGSEONG-characters-from-UD7.patch X-Spam-Status: No, score=-13.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Mike FABIAN via Libc-alpha From: Mike FABIAN Reply-To: Mike FABIAN Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Reviewed-by: Carlos O'Donell From 94aa93f64d88dd52353480f3d425c6cc064b0d81 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 16 Jun 2020 08:29:40 +0200 Subject: [PATCH] Set width of JUNGSEONG/JONGSEONG characters from UD7B0 to UD7FB to 0 [BZ #26120] --- localedata/charmaps/UTF-8 | 1 + localedata/unicode-gen/utf8_gen.py | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/localedata/charmaps/UTF-8 b/localedata/charmaps/UTF-8 index 14c5d4fa33..56327e7830 100644 --- a/localedata/charmaps/UTF-8 +++ b/localedata/charmaps/UTF-8 @@ -48920,6 +48920,7 @@ WIDTH 0 0 ... 2 +... 0 ... 2 ... 2 0 diff --git a/localedata/unicode-gen/utf8_gen.py b/localedata/unicode-gen/utf8_gen.py index 17b99ee88d..f83cb3c5e5 100755 --- a/localedata/unicode-gen/utf8_gen.py +++ b/localedata/unicode-gen/utf8_gen.py @@ -258,6 +258,10 @@ def process_width(outfile, ulines, elines, plines): if key in width_dict: del width_dict[key] # default width is 1 for key in list(range(0x1160, 0x1200)): + # Hangul jungseong and jongseong: + width_dict[key] = 0 + for key in list(range(0xD7B0, 0xD7FC)): + # Hangul jungseong and jongseong: width_dict[key] = 0 for key in list(range(0x3248, 0x3250)): # These are “A” which means we can decide whether to treat them -- 2.26.2