Serg Posted July 29, 2019 Share Posted July 29, 2019 Добрый день! Возможно ли использовать для Unilabel шрифт GoogleFonts Я регистрирую шрифты : procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject); begin UniServerModule.CustomFiles.Add('<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">'); Quote Link to comment Share on other sites More sharing options...
Serg Posted July 29, 2019 Author Share Posted July 29, 2019 Я был уверен что это возможно в UniGUI... Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 29, 2019 Share Posted July 29, 2019 13 minutes ago, Serg said: Я был уверен что это возможно в UniGUI... Здравствуйте, Получилось?! Quote Link to comment Share on other sites More sharing options...
Serg Posted July 29, 2019 Author Share Posted July 29, 2019 Пока нет. Делал через CSS Quote Link to comment Share on other sites More sharing options...
Serg Posted July 29, 2019 Author Share Posted July 29, 2019 А у Вас получилось? Quote Link to comment Share on other sites More sharing options...
Serg Posted July 30, 2019 Author Share Posted July 30, 2019 Для UniLabel эффекта не наблюдаю function beforeInit(sender, config) { config.style=" font-family: Roboto; font-size:15" } Quote Link to comment Share on other sites More sharing options...
Serg Posted July 30, 2019 Author Share Posted July 30, 2019 В чем моя ошибка? Должно ведь работать! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted July 30, 2019 Share Posted July 30, 2019 10 hours ago, Serg said: А у Вас получилось? 38 minutes ago, Serg said: В чем моя ошибка? Должно ведь работать! Здравствуйте, Извините за задержку с ответом. Нужно проанализировать... Quote Link to comment Share on other sites More sharing options...
Serg Posted July 31, 2019 Author Share Posted July 31, 2019 http://forums.unigui.com/index.php?/topic/4970-using-google-font/ - но не работает Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 https://www.sencha.com/forum/showthread.php?335288-Can-t-use-Google-fonts-in-Manage-web-Fonts Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 https://docs.sencha.com/themer/1.3.3/guides/walkthrough.html Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 Добрый день! Хотелось бы получить ответ: возможно ли использование GoogleFonts или нет. Спасибо. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 1, 2019 Share Posted August 1, 2019 Добрый день! 1. UniServerModule -> CustomFiles -> Add: <link href='https://fonts.googleapis.com/css?family=Sofia' rel='stylesheet'> 2. UniLabel -> Font -> Name = Sofia Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 Большое спасибо! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 1, 2019 Share Posted August 1, 2019 С остальными шрифтами получается тоже?! Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 Да. Это удобнее чем CSS. Моя ошибка что я брал не кириллические шрифты. Все шрифты работают! Большое спасибо! Quote Link to comment Share on other sites More sharing options...
Serg Posted August 1, 2019 Author Share Posted August 1, 2019 Купим поддержку еще на год) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 1, 2019 Share Posted August 1, 2019 И Вам спасибо! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.