← Back to community index
# contributor·Active

Anas - @! Rushabh | Linux Shill please take a l...

mention please take a look I’m adding <ammeter / in core and found issue, schematic symbols has dc ammeter horz correctly defined with the A inside the circle, but when core renders the schematic SVG through circuit to svg, that literal A text gets dropped. The SVG ends up showin

Started by AnasJun 18, 202617 messages

Discussion

Last active 26 days ago · plain text
Anasoriginal post
<@452450065941004289> please take a look I’m adding `<ammeter /> ` in core and found issue, schematic-symbols has dc_ammeter_horz correctly defined with the A inside the circle, but when core renders the schematic SVG through circuit-to-svg, that literal A text gets dropped. The SVG ends up showing the circle and meter line, but the center A is blank.
Anas
Looks like circuit-to-svg only handles {REF} and {VAL} text inside schematic symbols, and any other literal symbol text becomes empty. I’ll attach screenshots showing the symbol site vs the rendered core output.
Anas
or anyone
Anas
cc:<@1238122660345548882> <@1067854999889137715>
shibo
we need an AC ammeter too
shibo
TI circuits are analog
Anas
forgot the AC for now, just fix the issue that I mentioned above
mohan-bee
doing the fix.
Anas
maybe u can write the "A" letter with svg path same as the voltameter do
mohan-bee
https://github.com/tscircuit/circuit-to-svg/pull/577 <@756504518417711104>
mohan-bee
<@756504518417711104> also i tried to convert the text into path in the schematic symbols , you can take a look.
Anas
sg just lmme know if u fixed it
Anas
or mention me to review
mohan-bee
https://github.com/tscircuit/schematic-symbols/pull/428 <@756504518417711104>
! Rushabh | Linux Shill
was afk
mohan-bee
<@756504518417711104> fixed in schematic symbols do we have to update the package anywhere apart from core ??
Anas
perfect, updated

Want to add to the conversation?

Reply in Discord so your notes stay connected to the source.
Continue in Discord ↗