Skip to content

Commit

Permalink
🔥 replace original repo
Browse files Browse the repository at this point in the history
  • Loading branch information
GirkovArpa committed Aug 6, 2021
1 parent 5f58984 commit ee8315f
Show file tree
Hide file tree
Showing 70 changed files with 1,127 additions and 2,149 deletions.
11 changes: 4 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
data/raw/ascii
data/raw/lineStrokes
data/raw/original
data/processed

logs
predictions
/target
/release
*.dll
*.exe
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

141 changes: 141 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "calligrapher-ai"
version = "0.1.0"
authors = ["GirkovArpa <girkovarpa@protonmail.com>"]
edition = "2018"

[dependencies]
libc ="*"
libloading = "*"
sciter-rs = "*"

[target.'cfg(windows)'.build-dependencies]
winres = "0.1"

[package.metadata.winres]
OriginalFilename = "https://calligrapher.ai"
LegalCopyright = "Copyright © girkovarpa 2021, sjvasquez 2020"
FileDescription = "Realistic handwriting generator. Convert text to handwriting using a recurrent neural network. Choose from various print and cursive styles. Customize the outputs and download as SVG."
ProductName = "Calligrapher AI"
ProductVersion = "0.1.0"

[profile.release]
opt-level = "z" # Optimize for size.
panic = "abort"
92 changes: 92 additions & 0 deletions app/about/about.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
html {
font: system;
width: max-content;
height: min-content;
overflow: none;
background-color: threedface;
}

body {
margin: 0;
padding: 0;
}

#content {
background-color: threedhighlight;
padding-left: 40dip;
padding-right: 10dip;
vertical-align: top;
foreground-repeat: no-repeat;
foreground-position: 16dip 50%;
background-repeat: no-repeat;
background-position: 10dip 50%;
background-size: 64dip 64dip;
min-width: 160dip;
min-height: 88dip;
width: *;
height: *;
white-space: pre;
text-align: center;
font-size: 1.3em;
line-height: 1.3em;
}

shift {
transform: translate(-1em, 0);
}

v {
color: rgba(0, 0, 0, 0.8);
font-size: .75em;
}

#content {
background-image: url(this://app/png/logo.png);
}

div#info {
background-color: threedhighlight;
border-bottom: 1px solid threedshadow;
padding: 0 10dip 10dip 10dip;
size: *;
margin: 0;
vertical-align: middle;
text-align: center;
}

a {
cursor: pointer;
text-decoration: underline;
color: blue;
}

a:active {
color: red;
}

img {
transform: translate(0, 25%);
}

#button-bar {
flow: horizontal;
padding: 10dip;
border-spacing: 10dip;
margin: 0;
flow: horizontal;
horizontal-align: right;
}

label {
line-height: 1.4em;
}

#button-bar button {
display: block;
text-shadow: #FFF 0px 1px;
min-width: 4em;
line-height: 2em;
vertical-align: middle;
width: min-intrinsic;
text-align: center;
}
37 changes: 37 additions & 0 deletions app/about/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html window-resizable="false">

<head>
<title>About Calligrapher AI</title>
<link href="this://app/about/about.css" rel="stylesheet">
<script src="this://app/about/about.js" type="module"></script>
</head>

<body>
<section #content>
<shift><b>Calligrapher AI</b></shift>
<v>v0.1.0</v>

</section>
<div #info>
<div .row>
This application uses <img src="this://app/png/sciter.png" /><a #sciter>Sciter</a> Engine,
</div>
<div .row>
© <a #terra-informatica>Terra Informatica Software</a>, Inc.,
</div>
<div .row>
and is © <a #girkov-arpa>girkovarpa</a> 2021, <a #sjvasquez>sjvasquez</a> 2020.
</div>
<div .row>
This is a port of <a #calligrapher-ai>https://calligrapher.ai</a>.
</div>
</div>
</div>
</div>
<footer #button-bar>
<button>Ok</button>
</footer>
</body>

</html>
25 changes: 25 additions & 0 deletions app/about/about.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { $, $$ } from '@sciter';
import { launch } from '@env';
import { cwd } from '@sys';

$('#sciter').on('click', () => {
launch('https://sciter.com');
});

$('#terra-informatica').on('click', () => {
launch('https://terrainformatica.com');
});

$('#girkov-arpa').on('click', () => {
launch('https://github.com/girkovarpa/');
});

$('#sjvasquez').on('click', () => {
launch('https://github.com/sjvasquez/');
});

$('#calligrapher-ai').on('click', () => {
launch('https://calligrapher.ai');
});

$('button').on('click', () => Window.this.close());
Loading

0 comments on commit ee8315f

Please sign in to comment.