Issue with Font Not Displaying in Exported HISE Project
-
@treynterrio Is your label set to saveInPreset?
-
@d-healey yes i try to save it now in a .js file to reopen it after restart
-
@treynterrio I mean is the saveInPreset property for the label set to Enabled
-
@d-healey yes it is
-
@treynterrio it’s not clear to figure it out.
Snippet please
-
HiseSnippet 1047.3ocsV01aiTCD1aRW3ZfCwg3GfU9TJTERHaxU3Dh1lWf.8knlxI9VkytdSrpi8p0d60nSmD+j4e.L16lr61KkdJhKenpdl4YlmY7Li2IwRepRIiQN0tdUDE474tSWIzK5ufvDnwCPNeg64DklFiSEc5pHhRQCPNNU+Ei.m82CY+82+7oDNQ3SyEgPuVx7omwVxz4Rmb7uy37Qj.50rkEr163w9RQeIWl.7opaKTDw+Vxb5EDiYUbQ+JQs.47Mt87+gtslQa0s6QdcNxyqmWutsBa0Ib1Q87l04kdcB7511uCx4SFFvzx3oZhlpPN6cpLX0zEx2HRCvqYJ1LN0bnMZJD4Twij7.SJZjh5ufwClrtPoPfWljW1plV19Z2yYArMxyKeeoUANGQwBnSkxzqZI50tH8ZUfdagRNEnzdoT5EtS8iYQ5bMF97YtiEvsYHAtmJRkTaQUZW0suDrPnatjbKcTLbXChF8Z05PL7mCdUsZvckRiuiDiGKhRz3eBuF3bptubYjT.GZT2psNfHGvTMcYziBvp0.n1Pwblf1jKIAi.SOQ0n9amb0k+1v9WeynKOavvqdmQt56fBXLmMegtoVGV+Pb8xBL9BhkRxoMihYaXEldOSoU+HtN9awL0.ZHDtfFVcG.fd.lTZucLVcFL0r+WSEE.DBjyz7VhQV1vDb.FNLQ3qYRAVJrA0TPhk7F9qqFGB0KdB8fZusFF98.BUFE1mv4z.7aX5EovRIYpGffZ7.WBVg4lIRZv0z6M2aVCZpRlozfem2.ti8.6MlWHYzfwPhT.ZlMasJYrFC3vZYJKR8z7MdxTqdWsZ1DvDfrjnOjCyfw9FkysCdUgR0ERM8RQCSQYevG3GpJLbq5xbEmFuU0lkQw+W.aHRVNiFW3JwZHLvUdJ18wmhKtjwOs4ufglTlouLhJdrUOnrIFXhuRFq.S0148mmMueFYFkiXvT8m5ZKgHKesKPQeHfr2TEA8GiGPzDyVlrvCTJhFqYlr0Y.8NXGe5Nm8cGPU2pkQV9k0CCageJFd+lWA9qyNdU9SBMO1zqXYghbGcrXRLE5UfnVAUv+O6oRlB9+th92630inHmuxcyHJ9DNQcKA8nAmBW3D6cpSUz6u5EV5KCR3Dc4WBLuWlo.ZrJs90rhUnX5UEeO8+smG9Po3Kbmvz9K1NGqrENZ5C+HvwrGUet6vvPpuNmf64N5O+37BJ5JYhFV9cNA1ABsKtWjrbJ7gH9TH5BAkaFrgtNCT64VlylJvTpHvd3efeYJaaN6jor8ZknkD+X4M9oyflmselUBvIgsEbe3asfy31qm9xqyKguh3Fe+xt58.986JvN6JPucEX2cEXucE3K2UfG8z.Mej2IIZ4xzwFD57ICsKMcbFJLaJrcqn+EP4IETV
-
@treynterrio it doesn't even work when I save it in a .json file and load it onOpen
-
You need to use "Starlight" as the ID.
Engine.loadFontAs("{PROJECT_FOLDER}Fonts/Starlight.ttf", "Starlight");
-
@d-healey its still the same issue as soon as I reopen the plugin it its gone
-
@treynterrio
If you do it with Look and Feel it should work. -
@Oli-Ullmann hmm do you've an example how?
-
@treynterrio The strange thing is, I can save it as a .json file but it won't load again when I reopen the plugin
-
@treynterrio
I am sorry, there is no Look and Feel for Labels. But you could do it with a Panel and the PaintRoutine. Here is a snippet:HiseSnippet 1040.3ocsV01aZbDDdOruz.sVpQppe9De5bEhBF+BQoUk2aoEaSMzn9M2k8F3V4kcQ2smcPQVJ+p5uq9Onc16.tiFbREpgO.d14smY14YVOLPwfvPU.wpv3kK.h0WXOZoT621mxkj9cHVes8HP6LFdi1omRpcFzrmSkpjVKWPCCAOhk0A+nwVq7GRh+7W+PKpfJYP5QDxqUbFLfOmqSOcXiegKD8ndvX97LVeZi9LkrsRnhPbcfcExBJ6N5L3Jpwrb1jehF5Sr9F6Zf2I0qSO6zZ0X0eYc1ELZcfUcxEUNgN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vOjfPY2CaiTdi4Faj+nxFoj4+ewF41sPflWbOvXwpczj85yU.TzUZiHaUvRnhEUeKvWPaNq6sM2CEhOQeBU3N+twXs6.i.48eCLl+3fGqOv2m3JJA3l5C+008k.elk+TdpfxlcLVDSkLsSRCcfRctDX0YLRPh77tlj2lM2p372gv7TS9D7kqzVNWKWocgRTH1MletaVgI4yO9JkD.SLEeba3chvbSajpXU07bH7ZnyccWMT2xwVqqisWWG6rtN9Cqqi6ttNt25539edGkOV8UoBdX10FD53ICTU20zFvjUKTrUzeQBOfE2
-
@orange yes
-
This post is deleted! -
@Oli-Ullmann still doesn't work like this as soon as I reopen the plugin its gone its not saved
-
@orange yeah this works but its also gone when I reopen the plugin. I tried other fonts and it's still the same. I write my text in Arial in the Input and for the other Label I use the other font. My plan is to create something like a note that stays until you change it
-
-
-
@treynterrio
That is strange. But you have now marked the problem as solved. What was your solution? How did it work?