Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Emoji/Emoji.ttf
Binary file not shown.
15 changes: 15 additions & 0 deletions Emoji/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Emoji PDF Generator

## Overview
This script generates a PDF file containing an emoji using a custom emoji font. It utilizes the `reportlab` library to create and manipulate the PDF.

## Prerequisites
- Python 3.x installed on your machine.
- A custom emoji font file (e.g., `Emoji.ttf`).

## Dependencies
The script requires the following Python libraries:
`reportlab`

You can install the required library using pip:
`pip install reportlab`
2 changes: 1 addition & 1 deletion Emoji/emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ def create_pdf_with_emoji(output_filename, emoji, font_path):
if __name__ == "__main__":
output_filename = "emoji.pdf"
emoji = "😊" # Replace with the emoji you want to display
font_path ="emoji.tiff" # Replace with the path to your emoji font
font_path ="/Users/shru/Python-Scripts/Emoji/Emoji.ttf" # Replace with the path to your emoji font

create_pdf_with_emoji(output_filename, emoji, font_path)
Binary file removed Emoji/emoji.tiff
Binary file not shown.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ More information on contributing and the general code of conduct for discussion
| Digital Clock | [Digital Clock](https://github.com/DhanushNehru/Python-Scripts/tree/master/Digital%20Clock) | A Python script to preview a digital clock in the terminal. |
| Display Popup Window | [Display Popup Window](https://github.com/DhanushNehru/Python-Scripts/tree/master/Display%20Popup%20Window) | A Python script to preview a GUI interface to the user. |
| Duplicate Finder | [Duplicate Finder](https://github.com/DhanushNehru/Python-Scripts/tree/master/Duplicate%Fnder) | The script identifies duplicate files by MD5 hash and allows deletion or relocation. |
| Emoji | [Emoji](https://github.com/DhanushNehru/Python-Scripts/tree/master/Emoji) | The script generates a PDF with an emoji using a custom TrueType font.
| Emoji in PDF | [Emoji in PDF](https://github.com/DhanushNehru/Python-Scripts/tree/master/emoji_to_pdf) | A Python Script to view Emoji in PDF.
| Expense Tracker | [Expense Tracker](https://github.com/DhanushNehru/Python-Scripts/tree/master/Expense%20Tracker) | A Python script which can track expenses. |
| Face Reaction | [Face Reaction](https://github.com/DhanushNehru/Python-Scripts/tree/master/Face%20Reaction) | A script which attempts to detect facial expressions. |
Expand Down Expand Up @@ -145,4 +146,4 @@ Thank You for being here :)
### Connect 👉 [**Twitter**](https://twitter.com/Dhanush_Nehru) **/** [**Instagram**](https://www.instagram.com/dhanush_nehru/) **/** [**Github**](https://github.com/DhanushNehru/) **/** [**Youtube**](https://www.youtube.com/@dhanushnehru?sub_confirmation=1) **/** [**Newsletter**](https://dhanushn.substack.com/) **/** [**Discord**](https://discord.com/invite/Yn9g6KuWyA)

<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->
<!-- Updated README links and corrected typos -->