From 04e9cbbbbda4dbde7526e50b8e55c816341004db Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 10 Nov 2011 19:35:10 -0700 Subject: [PATCH] utf8_heavy.pl: Pass up USER_DEFINED to outside swash If a sub-swash is user-defined, then the master one is. --- lib/utf8_heavy.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utf8_heavy.pl b/lib/utf8_heavy.pl index 3ffce23..08d901f 100644 --- a/lib/utf8_heavy.pl +++ b/lib/utf8_heavy.pl @@ -583,6 +583,8 @@ sub _loose_name ($) { } push @extras, $name => $subobj; $bits = $subobj->{BITS} if $bits < $subobj->{BITS}; + $user_defined = $subobj->{USER_DEFINED} + if $subobj->{USER_DEFINED}; } } } -- 2.7.4