Skip to content

Commit caea77a

Browse files
Add the environment variable
1 parent bba864d commit caea77a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/AWS/AWS_Lambda/Convert-PowerPoint-Presentation-to-Image/Function.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public string FunctionHandler(string input, ILambdaContext context)
5353
}
5454
}
5555

56-
//Sets the alternate font when a specified font is not installed in the production environment.
56+
//Set the alternate font when a specified font is not installed in the production environment.
5757
private void FontSettings_SubstituteFont(object sender, SubstituteFontEventArgs args)
5858
{
5959
if (args.OriginalFontName == "Calibri" && args.FontStyle == FontStyle.Regular)

PPTX-to-Image-conversion/Convert-PowerPoint-presentation-to-Image/AWS/AWS_Lambda/Convert-PowerPoint-Presentation-to-Image/aws-lambda-tools-defaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
"function-subnets" : "",
2323
"function-security-groups" : "",
2424
"tracing-mode" : "PassThrough",
25-
"environment-variables" : "",
25+
"environment-variables" : "\"LD_LIBRARY_PATH\"=\"/var/task:/tmp:/lib64:/usr/lib64\"",
2626
"image-tag" : ""
2727
}

PPTX-to-PDF-conversion/Convert-PowerPoint-presentation-to-PDF/AWS/AWS_Lambda/Convert-PowerPoint-Presentation-to-PDF/aws-lambda-tools-defaults.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"function-subnets" : "",
2222
"function-security-groups" : "",
2323
"tracing-mode" : "PassThrough",
24-
"environment-variables" : "",
24+
"environment-variables" : "\"LD_LIBRARY_PATH\"=\"/var/task:/tmp:/lib64:/usr/lib64\"",
2525
"image-tag" : "",
2626
"function-description" : ""
2727
}

0 commit comments

Comments
 (0)