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_tw.pm

    r24107 r34921  
    1212use vars qw($VERSION);
    1313
    14 $VERSION = '1.04';
     14$VERSION = '1.06';
    1515
    1616%Image::ExifTool::Lang::zh_tw::Translate = (
     
    272272   'FNumber' => 'å
    273273‰åœˆ',
     274   'FaceOrientation' => {
     275      PrintConv => {
     276        'Horizontal (normal)' => '0° (頂端/å·Šé‚Š)',
     277        'Rotate 180' => '180° (底郚/右邊)',
     278        'Rotate 270 CW' => '90° CW (å·Šé‚Š/底郚)',
     279        'Rotate 90 CW' => '90° CCW (右邊/頂端)',
     280      },
     281    },
    274282   'FaxRecvParams' => '傳真接收參敞',
    275283   'FaxRecvTime' => '傳真接收時間',
     
    288296    },
    289297   'FileType' => '檔案栌匏',
     298   'Filename' => '檔案名皱',
    290299   'FillOrder' => '填寫蚂單',
    291300   'Flash' => {
     
    547556   'HostComputer' => '䞻機',
    548557   'Hue' => '色盞',
     558   'ICCProfile' => 'ICC 色圩蚭定檔',
    549559   'IPTC-NAA' => 'IPTC-NAA å
    550560ƒè³‡æ–™',
     
    563573   'InteropOffset' => '互甚暙蚘',
    564574   'InteropVersion' => '互通性版本',
     575   'JPEGQuality' => {
     576      Description => '圱像品質',
     577      PrintConv => {
     578        'Extra Fine' => 'è¶
     579粟现',
     580        'Fine' => '粟现',
     581        'Standard' => '暙準品質',
     582      },
     583    },
    565584   'Keyword' => '關鍵字',
    566585   'Keywords' => '關鍵字',
     
    774793        'Portrait' => '肖像',
    775794        'Sports' => '運動堎面',
    776         'Standard' => '',
    777795        'Sunset' => '倕陜',
    778796        'Sweep Panorama' => 'å
     
    944962=head1 AUTHOR
    945963
    946 Copyright 2003-2011, Phil Harvey (phil at owl.phy.queensu.ca)
     964Copyright 2003-2021, Phil Harvey (philharvey66 at gmail.com)
    947965
    948966This library is free software; you can redistribute it and/or modify it
Note: See TracChangeset for help on using the changeset viewer.