MIERUNE / qgis-plugx-plugin

QGIS to Illustrator with PlugX
GNU General Public License v2.0
3 stars 0 forks source link

Fix hairline width -> 0 #167

Closed bordoray closed 4 months ago

bordoray commented 4 months ago

プロジェクト内の市ポリゴンレイヤー(gunma_cityなど)のスタイル設定で線幅が「非常に細い線 (Hairline)」となっており、QGISのマップキャンバス上では線が見えている状態です。これを書き出してIllustratorでインポートすると、JSONに記述されている線幅が0.0なので、線が見えない状態(線なし)になってしまっています。 QGIS上でストロークスタイルが「線なし」の場合を除き、線幅が0.0の場合はIllustrator側でごく細い線幅を設定して読み込むように変更しようかと思いますが、それで問題なさそうでしょうか。

bordoray commented 4 months ago

Hairline looks to be set as 0.5px

https://github.com/qgis/QGIS/blob/e7f5b6f286b6cbaeaad5e73d69fad1448018c7e0/tests/src/python/test_qgssymbollayer_createsld.py#L234