SVG export: name the unsupported pixel effects without a product name

The brands check keeps other products' names out of user-facing text; #694's
SVG warnings called Radial Blur, Smart Blur and Unsharp Mask "Photoshop-style
raster effects". They are "pixel effects" now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic
2026-10-09 13:43:49 +07:00
co-authored by Claude Opus 5.5
parent 5acc269a41
commit 83b51ab9c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ impl Rules<'_> {
}
RasterFx::GaussianBlur { radius } => filter = Some(format!("blur({})", self.len(radius / 2.0))),
RasterFx::InnerGlow { .. } | RasterFx::Feather { .. } => art.unsupported("inner glows or feathering"),
RasterFx::Pixel(_) => art.unsupported("Photoshop-style raster effects"),
RasterFx::Pixel(_) => art.unsupported("pixel effects"),
}
}
if !shadows.is_empty() {
+1 -1
View File
@@ -1514,7 +1514,7 @@ impl Writer<'_> {
let mut opened = 0;
for f in fx.iter().rev() {
if matches!(f, RasterFx::Pixel(_)) {
self.warn("SVG has no Photoshop-style raster effects (Radial Blur, Smart Blur, Unsharp Mask…): they are left out");
self.warn("SVG has no pixel effects such as Radial Blur, Smart Blur or Unsharp Mask: they are left out");
continue;
}
let fid = self.fresh_id("filter");