Preferences: bitmap smoothing help says when each setting applies

The two Display Bitmaps as Anti-aliased Images descriptions and the
`smoothBitmaps` text in docs/mcp.md now say that the Pixel Preview
setting applies while Pixel Preview draws its own pixel raster, and
that images inside pattern tiles stay smoothed under both settings.

Part of #10712.
This commit is contained in:
dotCooCoo committed 2026-12-03 11:08:45 -08:00
1 parent ddf48b4d73
commit b0a37c8d96
3 files changed
+16 -8

No files matched your search

+4 -3
View File
@@ -326,9 +326,10 @@ pub(super) fn snapped_rect(min: egui::Pos2, size: egui::Vec2, device_ppp: f32) -
}
/// Whether a view smooths the bitmaps it draws larger than their pixels. While Pixel Preview draws
/// its own raster (a document pixel larger than a screen pixel) it follows File Handling › Display Bitmaps as Anti-aliased Images in Pixel Preview, and in every
/// other view File Handling › Display Bitmaps as Anti-aliased Images. Off, each image pixel shows as
/// a hard-edged square. An image marked pixelated is never smoothed (the renderer checks it).
/// its own pixel raster, it follows File Handling › Display Bitmaps as Anti-aliased Images in Pixel Preview.
/// This requires a document pixel larger than a screen pixel and a region within the display's texture limit.
/// Otherwise it follows File Handling › Display Bitmaps as Anti-aliased Images. Off, each image pixel shows as
/// a hard-edged square, except inside pattern fills. An image marked pixelated is never smoothed (the renderer checks it).
pub(super) fn smooth_images(prefs: &vectorcraft_engine::Prefs, pixel_preview: bool) -> bool {
if pixel_preview { prefs.anti_aliased_bitmaps } else { prefs.smooth_bitmaps }
}
@@ -343,10 +343,15 @@ pub(crate) const DESCRIPTIONS: &[(&str, &str)] = &[
"When a document opens, a linked EPS image that shows its saved preview keeps it instead of reading the EPS file again; changed files still follow Update Links.",
),
("pdfImportEmbeddedFonts", "Uses a PDF's embedded glyphs for imported text when its font is missing; off, it uses the fallback font."),
("smoothBitmaps", "Outside Pixel Preview, images are drawn smoothed; off, their pixels show with hard edges."),
(
"smoothBitmaps",
"Smooths images unless Pixel Preview draws its own pixel raster and uses the setting below. \
When off, image pixels have hard edges except inside pattern fills.",
),
(
"antiAliasedBitmaps",
"In Pixel Preview, images are drawn smoothed; off, their pixels show with hard edges. Outside Pixel Preview, the setting above applies.",
"Smooths images while Pixel Preview draws its own pixel raster; otherwise the setting above applies. \
When off, image pixels have hard edges except inside pattern fills.",
),
(
"updateLinks",
+5 -3
View File
@@ -10759,9 +10759,11 @@ Printing / Exporting, `accurate` by default) does the same for RGB raster export
Print as Bitmap: `rich` draws pure CMYK black as RGB black in the pixels; CMYK ink exports and the document's
colours stay as they are. `antiAliasedBitmaps` (off by default;
desktop app): in View › Pixel Preview, on softens placed and embedded bitmaps; off, their pixels stay hard-edged.
`smoothBitmaps` (Display Bitmaps as Anti-aliased Images, on by default): the same choice for the canvas in every
view other than Pixel Preview at a zoom where a document pixel is larger than a screen pixel; off, placed and embedded bitmaps drawn larger than their pixels show each pixel as a
hard-edged square. An image marked pixelated is never softened.
`smoothBitmaps` (Display Bitmaps as Anti-aliased Images, on by default): the same choice for the canvas unless
Pixel Preview draws its own pixel raster, which requires a document pixel larger than a screen pixel and a region
within the display's texture limit; off, placed and embedded bitmaps drawn larger than their pixels show each pixel
as a hard-edged square. An image marked pixelated is never softened. Neither preference reaches images inside pattern
tiles, which are drawn smoothed.
`pdfTextAs` (Preferences › File Handling › PDF Text, `text` by default; `text` or `outlines`): what the text of a PDF
opened or placed embedded from the app becomes when the open or place gives no `textAs` (see `document.open`).
`disableAutoAddDelete` (off by default): on, the Pen no longer adds or deletes an anchor when a click lands on a