Ignore:
Timestamp:
2021-02-26T19:39:51+13:00 (3 years ago)
Author:
anupama
Message:

Committing the improvements to EmbeddedMetaPlugin's processing of Keywords vs other metadata fields. Keywords were literally stored as arrays of words rather than phrases in PDFs (at least in Diego's sample PDF), whereas other meta fields like Subjects and Creators stored them as arrays of phrases. To get both to work, Kathy updated EXIF to a newer version, to retrieve the actual EXIF values stored in the PDF. And Kathy and Dr Bainbridge came up with a new option that I added called apply_join_before_split_to_metafields that's a regex which can list the metadata fields to apply the join_before_split to and whcih previously always got applied to all metadata fields. Now it's applied to any *Keywords metafields by default, as that's the metafield we have experience of that behaves differently to the others, as it stores by word instead of phrases. Tested on Diego's sample PDF. Diego has double-checked it to works on his sample PDF too, setting the split char to ; and turning on the join_before_split and leaving apply_join_before_split_to_metafields at its default of .*Keywords. File changes are strings.properties for the tooltip, the plugin introducing the option and working with it and Kathy's EXIF updates affecting cpan/File and cpan/Image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cpan/Image/ExifTool/Lang/zh_cn.pm

    r24107 r34921  
    1212use vars qw($VERSION);
    1313
    14 $VERSION = '1.05';
     14$VERSION = '1.08';
    1515
    1616%Image::ExifTool::Lang::zh_cn::Translate = (
     
    133133        'Tungsten (Incandescent)' => '癜炜灯',
    134134        'Unknown' => '未知',
     135        'Warm White Fluorescent' => '暖癜荧å
     136‰ç¯ïŒˆL2600-3250K',
    135137        'White Fluorescent' => '癜色荧å
    136138‰ç¯ïŒˆWW3250-3800K',
    137         'Warm White Fluorescent' => '暖癜荧å
    138 ‰ç¯ïŒˆL2600-3250K',
    139139      },
    140140    },
     
    170170        'Tungsten (Incandescent)' => '癜炜灯',
    171171        'Unknown' => '未知',
     172        'Warm White Fluorescent' => '暖癜荧å
     173‰ç¯ïŒˆL2600-3250K',
    172174        'White Fluorescent' => '癜色荧å
    173175‰ç¯ïŒˆWW3250-3800K',
    174         'Warm White Fluorescent' => '暖癜荧å
    175 ‰ç¯ïŒˆL2600-3250K',
    176176      },
    177177    },
     
    395395        'Shutter speed priority AE' => '快闚䌘å
    396396ˆ',
     397        'n/a' => '未讟眮',
    397398      },
    398399    },
     
    436437   'FNumber' => 'å
    437438‰åœˆæ•°',
     439   'FaceOrientation' => {
     440      PrintConv => {
     441        'Horizontal (normal)' => '0° (侊/å·Š)',
     442        'Rotate 180' => '180° (底/右)',
     443        'Rotate 270 CW' => '90° CW (å·Š/底)',
     444        'Rotate 90 CW' => '90° CCW (右/侊)',
     445      },
     446    },
    438447   'FaxProfile' => {
    439448      PrintConv => {
     
    740749    },
    741750   'Hue' => '色盞',
     751   'ICCProfile' => 'ICC 规范',
    742752   'IPTC-NAA' => 'IPTC-NAA å
    743753ƒæ•°æ®',
     
    780790   'InteropVersion' => '互甚版本',
    781791   'JFIFVersion' => 'JFIF 版本',
     792   'JPEGQuality' => {
     793      Description => '囟像莚量',
     794      PrintConv => {
     795        'Extra Fine' => 'è¶
     796粟细',
     797        'Fine' => '粟细',
     798        'Standard' => '标准画莚',
     799        'n/a' => '未讟眮',
     800      },
     801    },
    782802   'Keyword' => 'å
    783803³é”®è¯',
     
    825845        'Tungsten (Incandescent)' => '癜炜灯',
    826846        'Unknown' => '未知',
     847        'Warm White Fluorescent' => '暖癜荧å
     848‰ç¯ïŒˆL2600-3250K',
    827849        'White Fluorescent' => '癜色荧å
    828850‰ç¯ïŒˆWW3250-3800K',
    829         'Warm White Fluorescent' => '暖癜荧å
    830 ‰ç¯ïŒˆL2600-3250K',
    831851      },
    832852    },
     
    840860³',
    841861        'On' => '匀',
     862        'n/a' => '未讟眮',
    842863      },
    843864    },
     
    846867      PrintConv => {
    847868        'Manual' => '手劚',
     869        'n/a' => '未讟眮',
    848870      },
    849871    },
     
    10421064        'RAW + JPEG' => 'RAW+JPEG',
    10431065        'Standard' => '标准',
     1066        'n/a' => '未讟眮',
    10441067      },
    10451068    },
     
    11501173ˆ',
    11511174        'Sports' => '运劚暡匏',
    1152         'Standard' => '',
    11531175        'Sunset' => '倕阳',
    11541176        'Sweep Panorama' => '扫描å
     
    13411363   'WBAdjLighting' => {
    13421364      PrintConv => {
    1343         'Daylight' => '倪阳å
    1344 ‰',
     1365        'Daylight (direct sunlight)' => '倪阳å
     1366‰ (0)',
     1367        'Daylight (shade)' => '倪阳å
     1368‰ (1)',
     1369        'Daylight (cloudy)' => '倪阳å
     1370‰ (2)',
    13451371        'Flash' => '闪å
    13461372‰',
     
    13831409        'Tungsten' => '癜炜灯',
    13841410        'Unknown' => '未知',
     1411        'Warm White Fluorescent' => '暖癜荧å
     1412‰ç¯',
    13851413        'White Fluorescent' => '癜色荧å
    1386 ‰ç¯',
    1387         'Warm White Fluorescent' => '暖癜荧å
    13881414‰ç¯',
    13891415      },
     
    14731499=head1 AUTHOR
    14741500
    1475 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     1501Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    14761502
    14771503This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.