@@ -200,7 +200,7 @@ def _render_slate(inkscape: str, work_dir: Path, side: int, *, inverted: bool) -
200200 With inverted=False, the slate renders with its native FG body / BG stripes
201201 (right for placing on the white banner). With inverted=True, the SVG color
202202 codes are swapped before rendering so the body becomes BG and the stripes
203- FG — needed for the dialog's dark FG strip, where a non-inverted slate
203+ FG - needed for the dialog's dark FG strip, where a non-inverted slate
204204 would blend into the background.
205205 """
206206 if inverted :
@@ -256,18 +256,18 @@ def render_installer_jpegs(inkscape: str, work_dir: Path) -> None:
256256 """Render the per-scale baseline JPEGs that ship inside the MSI.
257257
258258 Outputs `Generated Images/installer_{banner,logo}{,.scale-125,.scale-150,.scale-200}.jpg`
259- from the master SVG. These are gitignored — pre_release.py --release rebuilds
259+ from the master SVG. These are gitignored - pre_release.py --release rebuilds
260260 them before each MSI build, so they always match the current logo without
261261 being re-committed every time.
262262 """
263263 GENERATED_IMAGES_DIR .mkdir (parents = True , exist_ok = True )
264- # Render the slate at the exact target size each iteration — sharper than
264+ # Render the slate at the exact target size each iteration - sharper than
265265 # rendering once big and downsampling, and avoids Pillow's resize stub mismatch.
266266 for scale , suffix in SCALES :
267267 bw , bh = round (BANNER_BASE [0 ] * scale ), round (BANNER_BASE [1 ] * scale )
268268 dw , dh = round (DIALOG_BASE [0 ] * scale ), round (DIALOG_BASE [1 ] * scale )
269269
270- # Banner icon sized off height (the limiting dim — banner is wide & short).
270+ # Banner icon sized off height (the limiting dim - banner is wide & short).
271271 # Strip is wider than the icon, so the icon centers within it.
272272 banner_icon_side = round (bh * BANNER_ICON_FRAC )
273273 slate_fg = _render_slate (inkscape , work_dir , banner_icon_side , inverted = False )
@@ -285,7 +285,7 @@ def render_installer_jpegs(inkscape: str, work_dir: Path) -> None:
285285
286286
287287def render_installer_static (inkscape : str , work_dir : Path ) -> None :
288- """Render the stable, committed installer assets — only re-run when the logo changes.
288+ """Render the stable, committed installer assets - only re-run when the logo changes.
289289
290290 Outputs:
291291 - psd_square_small.ico (copy of pyscenedetect.ico)
0 commit comments