You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be improved in a generic manner. What we can do is have new AttCache class inheriting from Att from which selected attribute can inherit (instead for Att). Which one to cache would be set in the libMEI configuration. These attribute would cache the original value which will be used when writing the attribute.
We need an additional virtual method Att::HasCacheValue() with would return false in Att but would be overwritten in AttCache. Then in methods writing attribute we would also check for the presence of a cached value.
lpugin
changed the title
Non-vu units get lost
Preserve in the MEI output attribute values non supported
Nov 15, 2022
Verovio loses units it cannot process. Better would be to store them anyway and just throw a warning.
When you load something like
<graphic xml:id="anid" width="2000px" height="3000px" target="https://some.url" />
Verovio reports a "Unsupported virtual unit value" and exports
<graphic xml:id="anid" target="https://some.url" />
The text was updated successfully, but these errors were encountered: