question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem when merging NotoSansSaurashtra-Regular.ttf with any other font.

See original GitHub issue
PS C:\ssc> pyftmerge .\NotoSansSaurashtra-Regular.ttf .\NotoSansBatak-Regular.ttf
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Scripts\pyftmerge.exe\__main__.py", line 7, in <module>
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\misc\loggingTools.py", line 372, in wrapper return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\merge\__init__.py", line 199, in main font = merger.merge(fontfiles)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\merge\__init__.py", line 114, in merge table = clazz(tag).merge(self, tables)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\merge\base.py", line 72, in merge return m.mergeObjects(self, self.mergeMap, tables)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\merge\__init__.py", line 146, in mergeObjects value = mergeLogic(getattr(table, key, NotImplemented) for table in tables)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\ ... \AppData\Local\Programs\Python\Python311\Lib\site-packages\fontTools\merge\util.py", line 21, in equal assert all(item == first for item in t), "Expected all items to be equal: %s" % lst AssertionError: Expected all items to be equal: ['vmtx', NotImplemented]

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
behdadcommented, Dec 9, 2022

I noticed the following warning. Do I need to take any action?

Those glyphs are safe to have duplicates. You’re good.

1reaction
behdadcommented, Dec 9, 2022

Try --drop-tables+=vmtx,vhea

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot merge several Noto fonts for historic languages #712
I ran pyftmerge to merge the following six Noto fonts with other Noto ... NotoSansGothic-Regular.ttf NotoSansOsmanya-Regular.ttf NotoSansP.
Read more >
Merging two fonts - Super User
First, you want to open the font with the missing glyphs and select Element -> Merge Fonts . In this example, the glyphs...
Read more >
Question about merging Noto fonts - Google Groups
Is there any way to merge two Noto fonts files into a single Noto fonts file? ... not TTF, while all other Noto...
Read more >
Changing Fonts After Merge - Microsoft Community
Hi All: I'm running Office 2007 under Window Vista Home Premium. I'm trying to create tickets to a Scout dinner, with unique numbers...
Read more >
1 Merged Text Changes to a Different Font Style or Size ...
When you perform a mail merge, the merged information may appear in a different font. This behavior occurs when the default Normal style...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found