ea 0.6.69 → 0.6.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45113c2ef3c67bcfbfe3d9f570d2a2106e4bb100850b4970170f1c7053d5b968
4
- data.tar.gz: ddf0f3096a198b123809dd97a1c406aa2a5756081b2835200be297f616a069bd
3
+ metadata.gz: f9275bd3e6665a09d40ebd05d0d468bdcde9fab3843a8eb7fe26f5c5fec9c621
4
+ data.tar.gz: b50f26a71f8b48c36f656a3a2a974d435c00b80f46f04f90e2e14a4e4dd4b2fe
5
5
  SHA512:
6
- metadata.gz: 5435877c1f4a3f0ee7d18bc2f01b39f1a1801535fa39fd63d24abc98fa720d0c79f27f7d2e40850c004e6cbae46609db9a150694f83e7bedb1d0818f98aedce9
7
- data.tar.gz: efb4dc1a892711760241f159ccc8fa13b1ee1680f3b7510568f52977b8cbad5ccfc117c19e1d314d91fcd8c88e6c536495995b02c32e002c8fd949d67c89d5fb
6
+ metadata.gz: c43a66f44f603c67ea7202c9e3d238b11d887f7e48386d92501587d62d4b31023bc40262a290e98defeeb575a7b9080bc4975b2caa07efd88d40ca9591015ac5
7
+ data.tar.gz: 6d808f69d40fa387234c75bfd0007063067de65017b95c15ef5d0305b753eccfb683f30f6c7b605f51745cafcbfac7d9bed8fcedb5c2d4872a8045376faf3fc4
@@ -30,9 +30,17 @@ module Ea
30
30
  @theme = theme || Ea::Theme::Registry.default
31
31
  end
32
32
 
33
+ # Families EA stores as "use default" markers - the export
34
+ # renders them with the theme font (corpus-wide, no published
35
+ # SVG ever carries Yu Gothic UI).
36
+ DEFAULT_MARKER_FAMILIES = ["Yu Gothic UI"].freeze
37
+
33
38
  def family_for(element)
34
39
  explicit = element&.font_family
35
- return explicit if explicit && !explicit.empty?
40
+ unless explicit.nil? || explicit.empty? ||
41
+ DEFAULT_MARKER_FAMILIES.include?(explicit)
42
+ return explicit
43
+ end
36
44
  return theme.font_family if theme.themed? && theme.font_family
37
45
 
38
46
  diagram_default_family || DEFAULT_FONT_FAMILY
data/lib/ea/version.rb CHANGED
@@ -4,5 +4,5 @@ module Ea
4
4
  # Gem release version. Extracted to its own file so the
5
5
  # `gem-release` tool's `gem bump` can find and update it via the
6
6
  # standard `lib/<gem>/version.rb` convention.
7
- VERSION = "0.6.69"
7
+ VERSION = "0.6.70"
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.69
4
+ version: 0.6.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-09 00:00:00.000000000 Z
11
+ date: 2026-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model