Re: Full Data Set with Glyph IDs

Oh I probably forgot to update the font library zip file along side the
full data set. I'll get that updated and resend the file.

Also I'll look into that error.

On Sun, Aug 16, 2020 at 7:49 PM Myles C. Maxfield <mmaxfield@apple.com>
wrote:

> I’m having trouble running the patch_subset method on the data set. In
> particular, when
> running patch_subset_method.create_without_codepoint_remapping on sequence
> index 36409 (zero-based) from this new data set, it fails with this:
>
> Internal subsetting failure.Subsetting for client_target_subset (font_id =
> NotoNastaliqUrdu-Bold.ttf)failed.Got a failure from the patch subset server
> (code = INTERNAL).multiprocessing.pool.RemoteTraceback:
> """
> Traceback (most recent call last):
>   File
> "/AppleInternal/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py",
> line 121, in worker
>     result = (True, func(*args, **kwds))
>   File
> "/AppleInternal/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py",
> line 44, in mapstar
>     return list(map(*args))
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/analyzer.py",
> line 228, in do_analysis
>     FLAGS.font_directory, FLAGS.default_font_id)
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/simulation.py",
> line 52, in simulate_all
>     graphs = simulate_sequence(sequence, method, None, a_font_loader)
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/simulation.py",
> line 83, in simulate_sequence
>     session.page_view(usage_by_font(page_view))
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/patch_subset/py/patch_subset_method.py",
> line 204, in page_view
>     self.sessions_by_font[font_id].extend(usage.codepoints)
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/patch_subset/py/patch_subset_method.py",
> line 136, in extend
>     raise PatchSubsetError("Patch subset extend call failed.")
> patch_subset.py.patch_subset_method.PatchSubsetError: Patch subset extend
> call failed.
> """
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/analyzer.py",
> line 298, in <module>
>     app.run(main)
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/io_abseil_py/absl/app.py",
> line 299, in run
>     _run_main(main, args)
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/io_abseil_py/absl/app.py",
> line 250, in _run_main
>     sys.exit(main(argv))
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/analyzer.py",
> line 289, in main
>     results_proto = start_analysis()
>   File
> "/private/var/tmp/_bazel_mmaxfield/36832e35842f79cff32ff012099b3ec8/execroot/PFE_analysis/bazel-out/darwin-fastbuild/bin/analysis/analyzer.runfiles/PFE_analysis/analysis/analyzer.py",
> line 273, in start_analysis
>     results = merge_results(pool.map(do_analysis, segmented_sequences))
>   File
> "/AppleInternal/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py",
> line 268, in map
>     return self._map_async(func, iterable, mapstar, chunksize).get()
>   File
> "/AppleInternal/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/pool.py",
> line 657, in get
>     raise self._value
> patch_subset.py.patch_subset_method.PatchSubsetError: Patch subset extend
> call failed.
>
>
> On Aug 15, 2020, at 8:25 PM, Myles C. Maxfield <mmaxfield@apple.com>
> wrote:
>
> By the way, the data set references DroidKufi-Regular.ttf which is not in
> the FontLibrary.
>
> On Aug 13, 2020, at 2:25 PM, Levantovsky, Vladimir <
> Vladimir.Levantovsky@monotype.com> wrote:
>
> Great, thank you Garret!
>
> *From:* Garret Rieger <grieger@google.com>
> *Sent:* Thursday, August 13, 2020 3:38 PM
> *To:* w3c-webfonts-wg (public-webfonts-wg@w3.org) <
> public-webfonts-wg@w3.org>
> *Subject:* Full Data Set with Glyph IDs
>
> Is now available:
> https://drive.google.com/file/d/1ju3ry3ywTxrmkUDo4F2YszE37cPmKN1B/view?usp=sharing
> <https://protect-us.mimecast.com/s/kcUZCmZn6YIjX1mJcG77sK>
>
>
>
>

Received on Monday, 17 August 2020 19:37:14 UTC