New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 644527 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocking:
issue 583155



Sign in to add a comment

Unable to check Ghostscript into system image

Project Member Reported by weifangsun@chromium.org, Sep 6 2016

Issue description


Ghostscript is currently too large for the existing system image. We are investigating how to create more space through approaches such as slimming down Arc++, removing some Ghostscript fonts, cleaning up existing binaries, etc.
 
Labels: Week-1635

Comment 2 by adlr@chromium.org, Sep 12 2016

Status: Started (was: Assigned)
Update: Cls are in review. I've removed all the fonts from Ghostscript and instead created a mapping to the CrOS fonts. Right now it's just for the core 14 PDF fonts, but we could improve it in the future by mapping to more of the fonts we include.

I've also found some space we can free up that helps Ghostscript fit. All CLs are set up to go in atomically.
Project Member

Comment 3 by bugdroid1@chromium.org, Sep 17 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/overlays/chromeos-overlay/+/7b4981c4f46abf5452fc5cb26188d7cfa4123233

commit 7b4981c4f46abf5452fc5cb26188d7cfa4123233
Author: Andrew de los Reyes <adlr@chromium.org>
Date: Fri Sep 02 21:15:50 2016

Project Member

Comment 4 by bugdroid1@chromium.org, Sep 17 2016

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/overlays/chromeos-overlay/+/7b4981c4f46abf5452fc5cb26188d7cfa4123233

commit 7b4981c4f46abf5452fc5cb26188d7cfa4123233
Author: Andrew de los Reyes <adlr@chromium.org>
Date: Fri Sep 02 21:15:50 2016

Project Member

Comment 5 by bugdroid1@chromium.org, Sep 17 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/e03af666edf65c140cadaeae1f2ecbb2fa581b63

commit e03af666edf65c140cadaeae1f2ecbb2fa581b63
Author: Andrew de los Reyes <adlr@chromium.org>
Date: Thu Sep 15 23:48:56 2016

build_RootFilesystemSize: shrink to 15MiB required

Needed b/c we're adding Ghostscript to the image.

BUG= chromium:644527 
TEST=CQ passes if this gets checked in
CQ-DEPEND=CL:380335

Change-Id: I0c39574cd66666dcf7f3b255170bf8fb1300d47e
Reviewed-on: https://chromium-review.googlesource.com/386276
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Sean Kau <skau@chromium.org>

[modify] https://crrev.com/e03af666edf65c140cadaeae1f2ecbb2fa581b63/client/site_tests/build_RootFilesystemSize/build_RootFilesystemSize.py

Project Member

Comment 6 by bugdroid1@chromium.org, Sep 17 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/95b1b69cf4f9bfb939389b2ec959b97c671a29d7

commit 95b1b69cf4f9bfb939389b2ec959b97c671a29d7
Author: Andrew de los Reyes <adlr@chromium.org>
Date: Mon Sep 12 20:11:17 2016

app-text/ghostscript-gpl: Don't install fonts

Add USE flag crosfonts which will cause ghostscript to use the existing
cros fonts rather than ghostscript's fonts.

BUG= chromium:644527 
TEST=Able to build Samus test image with Ghostscript and it fits. A demo
PDF I made with the 12 non-symbolic PDF fonts not embedded renders the
same in Chrome as Ghostscript.
CQ-DEPEND=CL:386276

Change-Id: I85c854498da49b773c747c114a3d0911aee20f5b
Reviewed-on: https://chromium-review.googlesource.com/384579
Commit-Ready: Andrew de los Reyes <adlr@chromium.org>
Tested-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
Reviewed-by: Sean Kau <skau@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[rename] https://crrev.com/95b1b69cf4f9bfb939389b2ec959b97c671a29d7/app-text/ghostscript-gpl/ghostscript-gpl-9.19-r4.ebuild
[modify] https://crrev.com/95b1b69cf4f9bfb939389b2ec959b97c671a29d7/app-text/ghostscript-gpl/ghostscript-gpl-9.19.ebuild
[add] https://crrev.com/95b1b69cf4f9bfb939389b2ec959b97c671a29d7/app-text/ghostscript-gpl/files/Fontmap.cros
[modify] https://crrev.com/95b1b69cf4f9bfb939389b2ec959b97c671a29d7/profiles/targets/chromeos/make.defaults

Comment 7 by adlr@chromium.org, Sep 17 2016

Status: Verified (was: Started)

Sign in to add a comment