通过修改font的line_width就可以修改版图中text字体的粗细:
代码如下:
from si_fab import all as pdk
import ipkiss3.all as i3class demo(i3.PCell):class Layout(i3.LayoutView):def _generate_elements(self, elems):elems += i3.PolygonText(layer=i3.TECH.PPLAYER.TEXT,coordinate=(0.0, 0.0),text="FUDAN",alignment=(i3.TEXT.ALIGN.CENTER, i3.TEXT.ALIGN.TOP),font=i3.TEXT.FONT.STANDARD.modified_copy(line_width=0.01),height=40,)return elemslayout = demo().Layout()
layout.visualize()
字体的宽度为:height*line_width